Updated config

This commit is contained in:
2024-02-01 23:59:16 +01:00
parent 973894cfab
commit 7face48c6f
8 changed files with 42 additions and 12 deletions

View File

@ -10,7 +10,9 @@ local function on_attach(bufnr)
-- navigation
vim.keymap.set("n", "<C-Up>", api.tree.change_root_to_parent, opts("Up"))
vim.keymap.set("n", "<C-Enter>", api.tree.change_root_to_node, opts("Enter"))
vim.keymap.set("n", "<C-Left>", api.tree.change_root_to_parent, opts("Up"))
vim.keymap.set("n", "<C-Down>", api.tree.change_root_to_node, opts("Enter"))
vim.keymap.set("n", "<C-Right>", api.tree.change_root_to_node, opts("Enter"))
-- open folders with a single click
vim.keymap.set("n", "<LeftRelease>", function()