feat: Add a new keybinding to search and expand a certain path (#1014)

This commit is contained in:
Andreas Bissinger
2022-02-22 23:36:59 +01:00
committed by GitHub
parent 19346da6e1
commit 48e76bc031
4 changed files with 78 additions and 3 deletions

View File

@@ -222,6 +222,7 @@ require'nvim-tree'.setup {
- Double left click acts like `<CR>`
- Double right click acts like `<C-]>`
- `W` will collapse the whole tree
- `S` will prompt the user to enter a path and then expands the tree to match the path
### Settings
@@ -285,7 +286,8 @@ local list = {
{ key = "s", action = "system_open" },
{ key = "q", action = "close" },
{ key = "g?", action = "toggle_help" },
{ key = "W", action = "collapse_all" }
{ key = "W", action = "collapse_all" },
{ key = "S", action = "search_node" }
}
```