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

@@ -619,6 +619,7 @@ INFORMATIONS *nvim-tree-info*
- 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
Defaults to:
>
@@ -658,7 +659,8 @@ Defaults to:
{ 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" }
}
<
The `list` option in `view.mappings.list` is a table of