From ff30aa9a8d1ba57f826f2f8f6a52d0c5441edec3 Mon Sep 17 00:00:00 2001 From: uttarayan21 Date: Mon, 1 Apr 2024 23:35:33 +0530 Subject: [PATCH] feat(nvim): Change neorg leader to m --- flake.lock | 2 +- neovim/nvim.nix | 12 ++---------- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/flake.lock b/flake.lock index a6208e17..6e2efda3 100644 --- a/flake.lock +++ b/flake.lock @@ -1188,7 +1188,7 @@ }, "locked": { "lastModified": 1, - "narHash": "sha256-5rfWdpmB/76KcuUEr4qMjRk35Bm6hdzRyMNgiqCxDSU=", + "narHash": "sha256-pflBfIdyFBeG+5Rq5Oq41zNu8w4eILzlj2tcjxal/Oo=", "path": "./neovim", "type": "path" }, diff --git a/neovim/nvim.nix b/neovim/nvim.nix index 60ae9522..39488cb9 100644 --- a/neovim/nvim.nix +++ b/neovim/nvim.nix @@ -38,14 +38,6 @@ in rec { lsp.autoAttach = true; }; - # Check extraConfigLua for the actual setup - # For disabling when using neovide - # image = { - # enable = true; - # backend = "kitty"; - # tmuxShowOnlyInActiveWindow = true; - # }; - mini = { enable = true; modules = { @@ -321,7 +313,7 @@ in rec { "o" = "[[TroubleToggle]]"; "p" = "[[bprev]]"; "q" = "[[bw]]"; - "nn" = "[[Neorg]]"; + "mm" = "[[Neorg]]"; "vff" = "[[vertical Gdiffsplit]]"; "" = "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 config = { default_keybinds = true, - neorg_leader = "n", + neorg_leader = "m", }, }, ["core.dirman"] = {