From 8f07507ba0b09c1d9800be4de6c343bb21e9a75d Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Fri, 6 Sep 2024 18:11:50 +0200 Subject: [PATCH] nvim: neotree: update mappings --- nvim/lua/user/plugins/ui/neotree.lua | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/nvim/lua/user/plugins/ui/neotree.lua b/nvim/lua/user/plugins/ui/neotree.lua index dae537d..b993b8d 100644 --- a/nvim/lua/user/plugins/ui/neotree.lua +++ b/nvim/lua/user/plugins/ui/neotree.lua @@ -83,6 +83,19 @@ return { enabled = true, }, use_libuv_file_watcher = true, + window = { + mappings = { + ["."] = "", -- unbind set_root. I never use it but always hit the key :P + ["~"] = "toggle_hidden", + } + }, + }, + buffers = { + window = { + mappings = { + ["."] = "", + } + } }, event_handlers = { {