aboutsummaryrefslogtreecommitdiff
path: root/book/src/keymap.md
diff options
context:
space:
mode:
Diffstat (limited to 'book/src/keymap.md')
-rw-r--r--book/src/keymap.md7
1 files changed, 5 insertions, 2 deletions
diff --git a/book/src/keymap.md b/book/src/keymap.md
index 70ec13b3..905ec48f 100644
--- a/book/src/keymap.md
+++ b/book/src/keymap.md
@@ -25,6 +25,7 @@
| `f` | Find next char | `find_next_char` |
| `T` | Find 'till previous char | `till_prev_char` |
| `F` | Find previous char | `find_prev_char` |
+| `G` | Go to line number `<n>` | `goto_line` |
| `Alt-.` | Repeat last motion (`f`, `t` or `m`) | `repeat_last_motion` |
| `Home` | Move to the start of the line | `goto_line_start` |
| `End` | Move to the end of the line | `goto_line_end` |
@@ -118,6 +119,10 @@
| `Alt-K` | Remove selections matching the regex | `remove_selections` |
| `$` | Pipe each selection into shell command, keep selections where command returned 0 | `shell_keep_pipe` |
| `Ctrl-c` | Comment/uncomment the selections | `toggle_comments` |
+| `Alt-k` | Expand selection to parent syntax node | `expand_selection` |
+| `Alt-j` | Shrink syntax tree object selection | `shrink_selection` |
+| `Alt-h` | Select previous sibling node in syntax tree | `select_prev_sibling` |
+| `Alt-l` | Select next sibling node in syntax tree | `select_next_sibling` |
### Search
@@ -261,8 +266,6 @@ Mappings in the style of [vim-unimpaired](https://github.com/tpope/vim-unimpaire
| `]D` | Go to last diagnostic in document (**LSP**) | `goto_last_diag` |
| `[space` | Add newline above | `add_newline_above` |
| `]space` | Add newline below | `add_newline_below` |
-| `]o` | Expand syntax tree object selection. | `expand_selection` |
-| `[o` | Shrink syntax tree object selection. | `shrink_selection` |
## Insert Mode