From 8699fd335669afa4c9bb44bb094c5cfcdee9b0fe Mon Sep 17 00:00:00 2001 From: Philippe Serhal Date: Wed, 20 Sep 2023 15:39:04 -0400 Subject: [PATCH] feat(nvim): add mapping to reveal current file in tree --- config/nvim/lua/user/mappings.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/nvim/lua/user/mappings.lua b/config/nvim/lua/user/mappings.lua index 6759114..3c56205 100644 --- a/config/nvim/lua/user/mappings.lua +++ b/config/nvim/lua/user/mappings.lua @@ -20,6 +20,9 @@ return { -- Move a line of text around with Alt+j/Alt+k [""] = { "mz:m+`z" }, [""] = { "mz:m-2`z" }, + + -- Toggle file explorer (tree-sitter) with current file focused + ["E"] = { "Neotree focus reveal", desc = "Toggle Explorer w/ file focused" }, }, v = { [""] = { "gV" }, -- 2.51.2