on master help sign in
Show keys required to enter each minor mode (#4302)
63fe423Ben White-Horne
book/src/keymap.md+16−7
@@ -167,10 +167,13 @@ These sub-modes are accessible from normal mode and typically switch back to nor
167
167
168#### View mode
168#### View mode
169
169
170+Accessed by typing `z` in [normal mode](#normal-mode).
171+
170View mode is intended for scrolling and manipulating the view without changing
172View 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
173+the selection. The "sticky" variant of this mode (accessed by typing `Z` in
172−key to return to normal mode after usage (useful when you're simply looking
174+normal mode) is persistent; use the Escape key to return to normal mode after
173−over text and not actively editing it).
175+usage (useful when you're simply looking over text and not actively editing
176+it).
174
177
175
178
176| Key | Description | Command |
179| Key | Description | Command |
@@ -188,6 +191,8 @@ over text and not actively editing it).
188
191
189#### Goto mode
192#### Goto mode
190
193
194+Accessed by typing `g` in [normal mode](#normal-mode).
195+
191Jumps to various locations.
196Jumps to various locations.
192
197
193| Key | Description | Command |
198| Key | Description | Command |
@@ -213,9 +218,10 @@ Jumps to various locations.
213
218
214#### Match mode
219#### Match mode
215
220
216−Enter this mode using `m` from normal mode. See the relevant section
221+Accessed by typing `m` in [normal mode](#normal-mode).
222+
217−in [Usage](./usage.md) for an explanation about [surround](./usage.md#surround)
223+See the relevant section in [Usage](./usage.md) for an explanation about
218−and [textobject](./usage.md#textobject) usage.
224+[surround](./usage.md#surround) and [textobject](./usage.md#textobject) usage.
219
225
220| Key | Description | Command |
226| Key | Description | Command |
221| ----- | ----------- | ------- |
227| ----- | ----------- | ------- |
@@ -230,6 +236,8 @@ TODO: Mappings for selecting syntax nodes (a superset of `[`).
230
236
231#### Window mode
237#### Window mode
232
238
239+Accessed by typing `Ctrl-w` in [normal mode](#normal-mode).
240+
233This layer is similar to Vim keybindings as Kakoune does not support window.
241This layer is similar to Vim keybindings as Kakoune does not support window.
234
242
235| Key | Description | Command |
243| Key | Description | Command |
@@ -252,8 +260,9 @@ This layer is similar to Vim keybindings as Kakoune does not support window.
252
260
253#### Space mode
261#### Space mode
254
262
255−This layer is a kludge of mappings, mostly pickers.
263+Accessed by typing `Space` in [normal mode](#normal-mode).
256
264
265+This layer is a kludge of mappings, mostly pickers.
257
266
258| Key | Description | Command |
267| Key | Description | Command |
259| ----- | ----------- | ------- |
268| ----- | ----------- | ------- |