feat: make it possible to collapse the tree but keep the directories open which are in used in buffers (#1057)
This commit is contained in:
committed by
GitHub
parent
d5a12ac9db
commit
60a9c86c53
@@ -280,6 +280,8 @@ local function setup_vim_commands()
|
||||
command! NvimTreeFindFile lua require'nvim-tree'.find_file(true)
|
||||
command! NvimTreeFindFileToggle lua require'nvim-tree'.toggle(true)
|
||||
command! -nargs=1 NvimTreeResize lua require'nvim-tree'.resize("<args>")
|
||||
command! NvimTreeCollapse lua require'nvim-tree.actions.collapse-all'.fn()
|
||||
command! NvimTreeCollapseKeepBuffers lua require'nvim-tree.actions.collapse-all'.fn(true)
|
||||
]]
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user