chore(help ui): switch ? to g? because ? is for backward search

This commit is contained in:
kiyan
2021-06-28 20:05:48 +02:00
parent a41f04c7e0
commit a59a4120a4
3 changed files with 3 additions and 3 deletions

View File

@@ -196,7 +196,7 @@ lua <<EOF
EOF EOF
``` ```
All mappings are set in `normal mode`. All mappings are set in `normal mode`.
You can toggle the help UI by pressing `?`. You can toggle the help UI by pressing `g?`.
## Note ## Note

View File

@@ -308,7 +308,7 @@ INFORMATIONS *nvim-tree-info*
|KeyBindings| *nvim-tree-keybindings* |KeyBindings| *nvim-tree-keybindings*
- type `?` to see the help UI with keybindings - type `g?` to see the help UI with keybindings
- move around like in any vim buffer - move around like in any vim buffer
- '<CR>' on '..' will cd in the above directory - '<CR>' on '..' will cd in the above directory
- typing '<C-]>' will cd in the directory under the cursor - typing '<C-]>' will cd in the directory under the cursor

View File

@@ -75,7 +75,7 @@ M.View = {
["]c"] = M.nvim_tree_callback("next_git_item"), ["]c"] = M.nvim_tree_callback("next_git_item"),
["-"] = M.nvim_tree_callback("dir_up"), ["-"] = M.nvim_tree_callback("dir_up"),
["q"] = M.nvim_tree_callback("close"), ["q"] = M.nvim_tree_callback("close"),
["?"] = M.nvim_tree_callback("toggle_help") ["g?"] = M.nvim_tree_callback("toggle_help")
} }
} }