feat: Add a new keybinding "W" to collapse the whole tree (#1013)

This commit is contained in:
Andreas Bissinger
2022-02-21 13:46:55 +01:00
committed by GitHub
parent 95df001185
commit 9f3dc98de7
3 changed files with 8 additions and 1 deletions

View File

@@ -222,6 +222,7 @@ require'nvim-tree'.setup {
- `R` will refresh the tree
- Double left click acts like `<CR>`
- Double right click acts like `<C-]>`
- `W` will collapse the whole tree
### Settings
@@ -284,6 +285,7 @@ local list = {
{ key = "s", action = "system_open" },
{ key = "q", action = "close" },
{ key = "g?", action = "toggle_help" },
{ key = "W", action = "collapse_all" }
}
```