feat: add new keybinding "b" to run a command in the focused node (#1024)

This commit is contained in:
Andreas Bissinger
2022-03-03 09:05:03 +01:00
committed by GitHub
parent 866442fd2c
commit 4fedb93cec
4 changed files with 17 additions and 3 deletions

View File

@@ -221,6 +221,7 @@ require'nvim-tree'.setup {
- 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
- `.` will enter vim command mode with the file the cursor is on
### Settings
@@ -285,7 +286,8 @@ local list = {
{ key = "q", action = "close" },
{ key = "g?", action = "toggle_help" },
{ key = "W", action = "collapse_all" },
{ key = "S", action = "search_node" }
{ key = "S", action = "search_node" },
{ key = ".", action = "run_file_command" }
}
```