Feature: add option for user keybindings
This commit is contained in:
@@ -109,6 +109,22 @@ INFORMATIONS *nvim-tree-info*
|
||||
- Double left click acts like '<CR>'
|
||||
- Double right click acts like '.'
|
||||
|
||||
|g:lua_tree_bindings| *g:lua_tree_bindings*
|
||||
|
||||
you can change default keybindings by defining this variable.
|
||||
default keybindings will be applied to undefined keys.
|
||||
>
|
||||
let g:lua_tree_bindings = {
|
||||
\ edit: '<cr>',
|
||||
\ edit_vsplit: '<c-v>',
|
||||
\ edit_split: '<c-x>',
|
||||
\ edit_tab: '<c-t>',
|
||||
\ cd: '.',
|
||||
\ create: 'a',
|
||||
\ remove: 'd',
|
||||
\ rename: 'r'
|
||||
\ }
|
||||
|
||||
|Features| *nvim-tree-features*
|
||||
|
||||
File icons with vim-devicons.
|
||||
|
||||
1
doc/tags
1
doc/tags
@@ -3,6 +3,7 @@
|
||||
:LuaTreeToggle nvim-tree-lua.txt /*:LuaTreeToggle*
|
||||
g:lua_tree_auto_close nvim-tree-lua.txt /*g:lua_tree_auto_close*
|
||||
g:lua_tree_auto_open nvim-tree-lua.txt /*g:lua_tree_auto_open*
|
||||
g:lua_tree_bindings nvim-tree-lua.txt /*g:lua_tree_bindings*
|
||||
g:lua_tree_follow nvim-tree-lua.txt /*g:lua_tree_follow*
|
||||
g:lua_tree_ignore nvim-tree-lua.txt /*g:lua_tree_ignore*
|
||||
g:lua_tree_show_icons nvim-tree-lua.txt /*g:lua_tree_show_icons*
|
||||
|
||||
Reference in New Issue
Block a user