Add NvimTreeResize to resize the NvimTree window (#497)

This commit is contained in:
Kassio Borges
2021-07-10 09:52:20 +01:00
committed by GitHub
parent 102c4c2332
commit 07dd10663a
3 changed files with 11 additions and 0 deletions

View File

@@ -40,6 +40,7 @@ command! NvimTreeToggle lua require'nvim-tree'.toggle()
command! NvimTreeRefresh lua require'nvim-tree'.refresh()
command! NvimTreeClipboard lua require'nvim-tree'.print_clipboard()
command! NvimTreeFindFile lua require'nvim-tree'.find_file(true)
command! -nargs=1 NvimTreeResize lua require'nvim-tree'.resize(<args>)
let &cpo = s:save_cpo
unlet s:save_cpo