@@ -6,38 +6,39 @@
7> NOTE: Unlike vim, `f`, `F`, `t` and `T` are not confined to the current line.
7> NOTE: Unlike vim, `f`, `F`, `t` and `T` are not confined to the current line.
9−| Key | Description | Command |
9+| Key | Description | Command |
10−| ----- | ----------- | ------- |
10+| ----- | ----------- | ------- |
11−| `h`, `Left` | Move left | `move_char_left` |
11+| `h`, `Left` | Move left | `move_char_left` |
12−| `j`, `Down` | Move down | `move_char_right` |
12+| `j`, `Down` | Move down | `move_char_right` |
13−| `k`, `Up` | Move up | `move_line_up` |
13+| `k`, `Up` | Move up | `move_line_up` |
14−| `l`, `Right` | Move right | `move_line_down` |
14+| `l`, `Right` | Move right | `move_line_down` |
15−| `w` | Move next word start | `move_next_word_start` |
15+| `w` | Move next word start | `move_next_word_start` |
16−| `b` | Move previous word start | `move_prev_word_start` |
16+| `b` | Move previous word start | `move_prev_word_start` |
17−| `e` | Move next word end | `move_next_word_end` |
17+| `e` | Move next word end | `move_next_word_end` |
18−| `W` | Move next WORD start | `move_next_long_word_start` |
18+| `W` | Move next WORD start | `move_next_long_word_start` |
19−| `B` | Move previous WORD start | `move_prev_long_word_start` |
19+| `B` | Move previous WORD start | `move_prev_long_word_start` |
20−| `E` | Move next WORD end | `move_next_long_word_end` |
20+| `E` | Move next WORD end | `move_next_long_word_end` |
21−| `t` | Find 'till next char | `find_till_char` |
21+| `t` | Find 'till next char | `find_till_char` |
22−| `f` | Find next char | `find_next_char` |
22+| `f` | Find next char | `find_next_char` |
23−| `T` | Find 'till previous char | `till_prev_char` |
23+| `T` | Find 'till previous char | `till_prev_char` |
24−| `F` | Find previous char | `find_prev_char` |
24+| `F` | Find previous char | `find_prev_char` |
25−| `Home` | Move to the start of the line | `goto_line_start` |
25+| `Home` | Move to the start of the line | `goto_line_start` |
26−| `End` | Move to the end of the line | `goto_line_end` |
26+| `End` | Move to the end of the line | `goto_line_end` |
27−| `PageUp` | Move page up | `page_up` |
27+| `PageUp` | Move page up | `page_up` |
28−| `PageDown` | Move page down | `page_down` |
28+| `PageDown` | Move page down | `page_down` |
29−| `Ctrl-u` | Move half page up | `half_page_up` |
29+| `Ctrl-u` | Move half page up | `half_page_up` |
30−| `Ctrl-d` | Move half page down | `half_page_down` |
30+| `Ctrl-d` | Move half page down | `half_page_down` |
31−| `Ctrl-i` | Jump forward on the jumplist | `jump_forward` |
31+| `Ctrl-i` | Jump forward on the jumplist | `jump_forward` |
32−| `Ctrl-o` | Jump backward on the jumplist | `jump_backward` |
32+| `Ctrl-o` | Jump backward on the jumplist | `jump_backward` |
33−| `v` | Enter [select (extend) mode](#select--extend-mode) | `select_mode` |
33+| `v` | Enter [select (extend) mode](#select--extend-mode) | `select_mode` |
34−| `g` | Enter [goto mode](#goto-mode) | N/A |
34+| `g` | Enter [goto mode](#goto-mode) | N/A |
35−| `m` | Enter [match mode](#match-mode) | N/A |
35+| `m` | Enter [match mode](#match-mode) | N/A |
36−| `:` | Enter command mode | `command_mode` |
36+| `:` | Enter command mode | `command_mode` |
37−| `z` | Enter [view mode](#view-mode) | N/A |
37+| `z` | Enter [view mode](#view-mode) | N/A |
38+| `Z` | Enter sticky [view mode](#view-mode) | N/A |
38−| `Ctrl-w` | Enter [window mode](#window-mode) | N/A |
39+| `Ctrl-w` | Enter [window mode](#window-mode) | N/A |
39−| `Space` | Enter [space mode](#space-mode) | N/A |
40+| `Space` | Enter [space mode](#space-mode) | N/A |
40−| `K` | Show documentation for the item under the cursor | `hover` |
41+| `K` | Show documentation for the item under the cursor | `hover` |
42### Changes
43### Changes
@@ -120,7 +121,10 @@ These sub-modes are accessible from normal mode and typically switch back to nor
120#### View mode
121#### View mode
122View mode is intended for scrolling and manipulating the view without changing
123View mode is intended for scrolling and manipulating the view without changing
123−the selection.
124+the selection. The "sticky" variant of this mode is persistent; use the Escape
125+key to return to normal mode after usage (useful when you're simply looking
126+over text and not actively editing it).
125| Key | Description | Command |
129| Key | Description | Command |
126| ----- | ----------- | ------- |
130| ----- | ----------- | ------- |
@@ -130,6 +134,10 @@ the selection.
130| `m` | Align the line to the middle of the screen (horizontally) | `align_view_middle` |
134| `m` | Align the line to the middle of the screen (horizontally) | `align_view_middle` |
131| `j` | Scroll the view downwards | `scroll_down` |
135| `j` | Scroll the view downwards | `scroll_down` |
132| `k` | Scroll the view upwards | `scroll_up` |
136| `k` | Scroll the view upwards | `scroll_up` |
137+| `f` | Move page down | `page_down` |
138+| `b` | Move page up | `page_up` |
139+| `d` | Move half page down | `half_page_down` |
140+| `u` | Move half page up | `half_page_up` |
134#### Goto mode
142#### Goto mode