feat: Add a new keybinding to search and expand a certain path (#1014)
This commit is contained in:
committed by
GitHub
parent
19346da6e1
commit
48e76bc031
@@ -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" }
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user