on master help sign in
Show keys required to enter each minor mode (#4302)

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>

commit63fe423710df3198293ea14a357b2884ae0445b3 authorBen White-Horne <32932209+kneasle@users.noreply.github.com> dateSun 16 Oct 2022, 17:58 (4 years ago) parent2457111
1 file changed+16−7
book/src/keymap.md+16−7
book/src/keymap.md+16−7
@@ -167,10 +167,13 @@ These sub-modes are accessible from normal mode and typically switch back to nor
167167
168168#### View mode
169169
170+Accessed by typing `z` in [normal mode](#normal-mode).
171+
170172View mode is intended for scrolling and manipulating the view without changing
171−the selection. The "sticky" variant of this mode is persistent; use the Escape
172−key to return to normal mode after usage (useful when you're simply looking
173−over text and not actively editing it).
173+the selection. The "sticky" variant of this mode (accessed by typing `Z` in
174+normal mode) is persistent; use the Escape key to return to normal mode after
175+usage (useful when you're simply looking over text and not actively editing
176+it).
174177
175178
176179| Key | Description | Command |
@@ -188,6 +191,8 @@ over text and not actively editing it).
188191
189192#### Goto mode
190193
194+Accessed by typing `g` in [normal mode](#normal-mode).
195+
191196Jumps to various locations.
192197
193198| Key | Description | Command |
@@ -213,9 +218,10 @@ Jumps to various locations.
213218
214219#### Match mode
215220
216−Enter this mode using `m` from normal mode. See the relevant section
217−in [Usage](./usage.md) for an explanation about [surround](./usage.md#surround)
218−and [textobject](./usage.md#textobject) usage.
221+Accessed by typing `m` in [normal mode](#normal-mode).
222+
223+See the relevant section in [Usage](./usage.md) for an explanation about
224+[surround](./usage.md#surround) and [textobject](./usage.md#textobject) usage.
219225
220226| Key | Description | Command |
221227| ----- | ----------- | ------- |
@@ -230,6 +236,8 @@ TODO: Mappings for selecting syntax nodes (a superset of `[`).
230236
231237#### Window mode
232238
239+Accessed by typing `Ctrl-w` in [normal mode](#normal-mode).
240+
233241This layer is similar to Vim keybindings as Kakoune does not support window.
234242
235243| Key | Description | Command |
@@ -252,8 +260,9 @@ This layer is similar to Vim keybindings as Kakoune does not support window.
252260
253261#### Space mode
254262
255−This layer is a kludge of mappings, mostly pickers.
263+Accessed by typing `Space` in [normal mode](#normal-mode).
256264
265+This layer is a kludge of mappings, mostly pickers.
257266
258267| Key | Description | Command |
259268| ----- | ----------- | ------- |