Skip to content

Commit

Permalink
Add table of contents to keymap.md (helix-editor#3174)
Browse files Browse the repository at this point in the history
  • Loading branch information
jharrilim authored and thomasskk committed Sep 9, 2022
1 parent 91a8d59 commit 9e9d0b1
Showing 1 changed file with 24 additions and 4 deletions.
28 changes: 24 additions & 4 deletions book/src/keymap.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -339,7 +359,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.

Expand All @@ -358,7 +378,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.

Expand Down

0 comments on commit 9e9d0b1

Please sign in to comment.