feat(nvim): Change neorg leader to <Space>m

This commit is contained in:
uttarayan21
2024-04-01 23:35:33 +05:30
parent 8b03e0e2b5
commit ff30aa9a8d
2 changed files with 3 additions and 11 deletions

2
flake.lock generated
View File

@@ -1188,7 +1188,7 @@
}, },
"locked": { "locked": {
"lastModified": 1, "lastModified": 1,
"narHash": "sha256-5rfWdpmB/76KcuUEr4qMjRk35Bm6hdzRyMNgiqCxDSU=", "narHash": "sha256-pflBfIdyFBeG+5Rq5Oq41zNu8w4eILzlj2tcjxal/Oo=",
"path": "./neovim", "path": "./neovim",
"type": "path" "type": "path"
}, },

View File

@@ -38,14 +38,6 @@ in rec {
lsp.autoAttach = true; lsp.autoAttach = true;
}; };
# Check extraConfigLua for the actual setup
# For disabling when using neovide
# image = {
# enable = true;
# backend = "kitty";
# tmuxShowOnlyInActiveWindow = true;
# };
mini = { mini = {
enable = true; enable = true;
modules = { modules = {
@@ -321,7 +313,7 @@ in rec {
"<leader>o" = "[[<cmd>TroubleToggle<cr>]]"; "<leader>o" = "[[<cmd>TroubleToggle<cr>]]";
"<leader>p" = "[[<cmd>bprev<cr>]]"; "<leader>p" = "[[<cmd>bprev<cr>]]";
"<leader>q" = "[[<cmd>bw<cr>]]"; "<leader>q" = "[[<cmd>bw<cr>]]";
"<leader>nn" = "[[<cmd>Neorg<cr>]]"; "<leader>mm" = "[[<cmd>Neorg<cr>]]";
"vff" = "[[<cmd>vertical Gdiffsplit<cr>]]"; "vff" = "[[<cmd>vertical Gdiffsplit<cr>]]";
"<C-k>" = "vim.lsp.buf.definition"; "<C-k>" = "vim.lsp.buf.definition";
@@ -445,7 +437,7 @@ in rec {
-- https://github.com/nvim-neorg/neorg/blob/main/lua/neorg/modules/core/keybinds/keybinds.lua -- https://github.com/nvim-neorg/neorg/blob/main/lua/neorg/modules/core/keybinds/keybinds.lua
config = { config = {
default_keybinds = true, default_keybinds = true,
neorg_leader = "<leader>n", neorg_leader = "<leader>m",
}, },
}, },
["core.dirman"] = { ["core.dirman"] = {