summaryrefslogtreecommitdiff
path: root/lua/lv-nvimtree/init.lua
diff options
context:
space:
mode:
authorchristianchiarulli <[email protected]>2021-06-30 19:06:58 -0400
committerchristianchiarulli <[email protected]>2021-06-30 19:06:58 -0400
commit59dd16925ad9f71a002a1d2b914012a39a77b05a (patch)
treef404e2d95a1cca55bd3d9aa1c36126032b5c1bb6 /lua/lv-nvimtree/init.lua
parent4c9ef378bcfbdef50f3915daf212527c53d5b274 (diff)
more keybinds for nvimtree
Diffstat (limited to 'lua/lv-nvimtree/init.lua')
-rw-r--r--lua/lv-nvimtree/init.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/lua/lv-nvimtree/init.lua b/lua/lv-nvimtree/init.lua
index 2815c1aa..b07ff69a 100644
--- a/lua/lv-nvimtree/init.lua
+++ b/lua/lv-nvimtree/init.lua
@@ -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