From bae16a5fadd48de803b8efa3064f0bc6d0246118 Mon Sep 17 00:00:00 2001 From: kalmenn Date: Sun, 17 Dec 2023 19:01:54 +0100 Subject: [PATCH] nvim: neotree: added keymaps --- .config/nvim/lua/plugins/neo-tree.lua | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.config/nvim/lua/plugins/neo-tree.lua b/.config/nvim/lua/plugins/neo-tree.lua index 42e79e4..c629ed1 100644 --- a/.config/nvim/lua/plugins/neo-tree.lua +++ b/.config/nvim/lua/plugins/neo-tree.lua @@ -9,6 +9,7 @@ return { "MunifTanjim/nui.nvim", -- "3rd/image.nvim", -- Optional image support in preview window: See `# Preview Mode` for more information }, + lazy = false, config = function() require('neo-tree').setup({ filesystem = { @@ -18,4 +19,10 @@ return { }, }) end, + keys = { + { "t", "Neotree toggle", "Toggle Neotree" }, + { "f", "Neotree filesystem focus", "Focus filesystem in Neotree" }, + { "b", "Neotree buffers focus", "Focus buffers in Neotree" }, + { "g", "Neotree git_status focus", "Focus git status in Neotree" }, + }, }