chore: document :NvimTreeFindFile! and add bang :NvimTreeFindFileToggle!

This commit is contained in:
Alexander Courtis
2022-09-22 14:18:49 +10:00
committed by GitHub
parent fbd421da71
commit 540055be5f
2 changed files with 8 additions and 4 deletions

View File

@@ -122,12 +122,16 @@ Setup should be run in a lua file or in a |lua-heredoc| if using in a vim file.
(if you opened a file with something else than the NvimTree, like `fzf` or
`:split`)
Invoke with a bang `:NvimTreeFindFile!` to update the root.
|:NvimTreeFindFileToggle|
close the tree or change the cursor in the tree for the current bufname,
similar to combination of |:NvimTreeToggle| and |:NvimTreeFindFile|. Takes an
optional path argument.
Invoke with a bang `:NvimTreeFindFileToggle!` to update the root.
|:NvimTreeClipboard|
Print clipboard content for both cut and copy