nvim: neotree: added keymaps

This commit is contained in:
kalmenn 2023-12-17 19:01:54 +01:00
parent 60b8d336d7
commit bae16a5fad
Signed by: kalmenn
GPG key ID: DFF253360BF8471F

View file

@ -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 = {
{ "<C-N>t", "<cmd>Neotree toggle<cr>", "Toggle Neotree" },
{ "<C-N>f", "<cmd>Neotree filesystem focus<cr>", "Focus filesystem in Neotree" },
{ "<C-N>b", "<cmd>Neotree buffers focus<cr>", "Focus buffers in Neotree" },
{ "<C-N>g", "<cmd>Neotree git_status focus<cr>", "Focus git status in Neotree" },
},
}