mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-08-05 10:35:03 +02:00
more keybinds for nvimtree
This commit is contained in:
parent
4c9ef378bc
commit
59dd16925a
1 changed files with 3 additions and 2 deletions
|
@ -51,8 +51,9 @@ M.config = function()
|
|||
local tree_cb = require'nvim-tree.config'.nvim_tree_callback
|
||||
|
||||
vim.g.nvim_tree_bindings = {
|
||||
{ key = "l", cb = tree_cb("edit")},
|
||||
{ key = "h", cb = tree_cb("close_node")}
|
||||
{ key = {"l", "<CR>", "o"}, cb = tree_cb("edit")},
|
||||
{ key = "h", cb = tree_cb("close_node")},
|
||||
{ key = "v", cb = tree_cb("vsplit")}
|
||||
}
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue