From cdfafa96d6dc33cb4209cc930d55ad2f261fdc20 Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Wed, 4 Dec 2024 16:04:49 +0100 Subject: [PATCH] nvim/lua/user/plugins/ui/neotree.lua: fix leader mappings --- nvim/lua/user/plugins/ui/neotree.lua | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/nvim/lua/user/plugins/ui/neotree.lua b/nvim/lua/user/plugins/ui/neotree.lua index 06fe079..0ea7136 100644 --- a/nvim/lua/user/plugins/ui/neotree.lua +++ b/nvim/lua/user/plugins/ui/neotree.lua @@ -76,6 +76,9 @@ return { position = "50%", relative = "editor", }, + mappings = { + [""] = "noop", + } }, filesystem = { follow_current_file = { @@ -84,7 +87,7 @@ return { use_libuv_file_watcher = true, window = { mappings = { - ["."] = "", -- unbind set_root. I never use it but always hit the key :P + ["."] = "noop", -- unbind set_root. I never use it but always hit the key :P ["~"] = "toggle_hidden", } }, @@ -92,7 +95,7 @@ return { buffers = { window = { mappings = { - ["."] = "", + ["."] = "noop", } } },