Skip to content

Commit d0c6340

Browse files
authored
Add table of contents to keymap.md (#3174)
1 parent cb142b5 commit d0c6340

File tree

1 file changed

+24
-4
lines changed

1 file changed

+24
-4
lines changed

book/src/keymap.md

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,27 @@
11
# Keymap
22

3-
- Mappings marked (**LSP**) require an active language server for the file.
4-
- Mappings marked (**TS**) require a tree-sitter grammar for the filetype.
3+
- [Normal mode](#normal-mode)
4+
- [Movement](#movement)
5+
- [Changes](#changes)
6+
- [Shell](#shell)
7+
- [Selection manipulation](#selection-manipulation)
8+
- [Search](#search)
9+
- [Minor modes](#minor-modes)
10+
- [View mode](#view-mode)
11+
- [Goto mode](#goto-mode)
12+
- [Match mode](#match-mode)
13+
- [Window mode](#window-mode)
14+
- [Space mode](#space-mode)
15+
- [Popup](#popup)
16+
- [Unimpaired](#unimpaired)
17+
- [Insert Mode](#insert-mode)
18+
- [Select / extend mode](#select--extend-mode)
19+
- [Picker](#picker)
20+
- [Prompt](#prompt)
21+
22+
> 💡 Mappings marked (**LSP**) require an active language server for the file.
23+
24+
> 💡 Mappings marked (**TS**) require a tree-sitter grammar for the filetype.
525
626
## Normal mode
727

@@ -337,7 +357,7 @@ mode before pressing `n` or `N` makes it possible to keep the current
337357
selection. Toggling it on and off during your iterative searching allows
338358
you to selectively add search terms to your selections.
339359

340-
# Picker
360+
## Picker
341361

342362
Keys to use within picker. Remapping currently not supported.
343363

@@ -356,7 +376,7 @@ Keys to use within picker. Remapping currently not supported.
356376
| `Ctrl-t` | Toggle preview |
357377
| `Escape`, `Ctrl-c` | Close picker |
358378

359-
# Prompt
379+
## Prompt
360380

361381
Keys to use within prompt, Remapping currently not supported.
362382

0 commit comments

Comments
 (0)