Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'book/src/remapping.md')
| -rw-r--r-- | book/src/remapping.md | 40 |
1 files changed, 19 insertions, 21 deletions
diff --git a/book/src/remapping.md b/book/src/remapping.md index 9a9a611a..4eb14c55 100644 --- a/book/src/remapping.md +++ b/book/src/remapping.md @@ -12,7 +12,7 @@ There are three kinds of commands that can be used in keymaps: in [`helix-term/src/commands.rs`](https://github.com/helix-editor/helix/blob/master/helix-term/src/commands.rs) at the invocation of `static_commands!` macro. * Typable commands: commands that can be executed from command mode (`:`), for - example `:write!`. See the [Commands](./commands.md) documentation for a + example `:write!`. See the [Commands](./commands.html) documentation for a list of available typeable commands or the `TypableCommandList` declaration in the source code at [`helix-term/src/commands/typed.rs`](https://github.com/helix-editor/helix/blob/master/helix-term/src/commands/typed.rs). * Macros: sequences of keys that are executed in order. These keybindings @@ -89,26 +89,24 @@ Cmd-s = ":write" # Cmd or Win or Meta and 's' to write Special keys are encoded as follows: -| Key name | Representation | -| --- | --- | -| Backspace | `"backspace"` | -| Space | `"space"` | -| Return/Enter | `"ret"` | -| Left | `"left"` | -| Right | `"right"` | -| Up | `"up"` | -| Down | `"down"` | -| Home | `"home"` | -| End | `"end"` | -| Page Up | `"pageup"` | -| Page Down | `"pagedown"` | -| Tab | `"tab"` | -| Delete | `"del"` | -| Insert | `"ins"` | -| Null | `"null"` | -| Escape | `"esc"` | -| Less Than (<) | `"lt"` | -| Greater Than (>) | `"gt"` | +| Key name | Representation | +| --- | --- | +| Backspace | `"backspace"` | +| Space | `"space"` | +| Return/Enter | `"ret"` | +| Left | `"left"` | +| Right | `"right"` | +| Up | `"up"` | +| Down | `"down"` | +| Home | `"home"` | +| End | `"end"` | +| Page Up | `"pageup"` | +| Page Down | `"pagedown"` | +| Tab | `"tab"` | +| Delete | `"del"` | +| Insert | `"ins"` | +| Null | `"null"` | +| Escape | `"esc"` | Keys can be disabled by binding them to the `no_op` command. |