Feat: add focus on tree functionality (#563)

This commit is contained in:
颜贵彬
2021-08-14 17:06:56 +08:00
committed by GitHub
parent b8b70cf340
commit 7014b6aff4
4 changed files with 13 additions and 1 deletions

View File

@@ -37,6 +37,7 @@ augroup end
command! NvimTreeOpen lua require'nvim-tree'.open()
command! NvimTreeClose lua require'nvim-tree'.close()
command! NvimTreeToggle lua require'nvim-tree'.toggle()
command! NvimTreeFocus lua require'nvim-tree'.focus()
command! NvimTreeRefresh lua require'nvim-tree'.refresh()
command! NvimTreeClipboard lua require'nvim-tree'.print_clipboard()
command! NvimTreeFindFile lua require'nvim-tree'.find_file(true)