aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe2022-07-26 00:41:09 +0000
committerGitHub2022-07-26 00:41:09 +0000
commitd0c63409ccb9eae332e7dea5788f54f1af412d5a (patch)
treec35f8e434d779da9ecd841e6ad61868ba2ba211b
parentcb142b5750fd23a9937034558663c1b5203fead4 (diff)
Add table of contents to keymap.md (#3174)
-rw-r--r--book/src/keymap.md28
1 files changed, 24 insertions, 4 deletions
diff --git a/book/src/keymap.md b/book/src/keymap.md
index 9acbd3b6..25f1943d 100644
--- a/book/src/keymap.md
+++ b/book/src/keymap.md
@@ -1,7 +1,27 @@
# Keymap
-- Mappings marked (**LSP**) require an active language server for the file.
-- Mappings marked (**TS**) require a tree-sitter grammar for the filetype.
+- [Normal mode](#normal-mode)
+ - [Movement](#movement)
+ - [Changes](#changes)
+ - [Shell](#shell)
+ - [Selection manipulation](#selection-manipulation)
+ - [Search](#search)
+ - [Minor modes](#minor-modes)
+ - [View mode](#view-mode)
+ - [Goto mode](#goto-mode)
+ - [Match mode](#match-mode)
+ - [Window mode](#window-mode)
+ - [Space mode](#space-mode)
+ - [Popup](#popup)
+ - [Unimpaired](#unimpaired)
+- [Insert Mode](#insert-mode)
+- [Select / extend mode](#select--extend-mode)
+- [Picker](#picker)
+- [Prompt](#prompt)
+
+> 💡 Mappings marked (**LSP**) require an active language server for the file.
+
+> 💡 Mappings marked (**TS**) require a tree-sitter grammar for the filetype.
## Normal mode
@@ -337,7 +357,7 @@ mode before pressing `n` or `N` makes it possible to keep the current
selection. Toggling it on and off during your iterative searching allows
you to selectively add search terms to your selections.
-# Picker
+## Picker
Keys to use within picker. Remapping currently not supported.
@@ -356,7 +376,7 @@ Keys to use within picker. Remapping currently not supported.
| `Ctrl-t` | Toggle preview |
| `Escape`, `Ctrl-c` | Close picker |
-# Prompt
+## Prompt
Keys to use within prompt, Remapping currently not supported.