@ -22,27 +22,29 @@ A-x = "normal_mode" # Maps Alt-X to enter normal mode
Control, Shift and Alt modifiers are encoded respectively with the prefixes
Control, Shift and Alt modifiers are encoded respectively with the prefixes
`C-`, `S-` and `A-`. Special keys are encoded as follows:
`C-`, `S-` and `A-`. Special keys are encoded as follows:
* Backspace => "backspace"
| Key name | Representation |
* Space => "space"
| --- | --- |
* Return/Enter => "ret"
| Backspace | `"backspace"` |
* < => "lt"
| Space | `"space"` |
* \> => "gt"
| Return/Enter | `"ret"` |
* \+ => "plus"
| < | `"lt"` |
* \- => "minus"
| \> | `"gt"` |
* ; => "semicolon"
| \+ | `"plus"` |
* % => "percent"
| \- | `"minus"` |
* Left => "left"
| ; | `"semicolon"` |
* Right => "right"
| % | `"percent"` |
* Up => "up"
| Left | `"left"` |
* Home => "home"
| Right | `"right"` |
* End => "end"
| Up | `"up"` |
* Page Up => "pageup"
| Home | `"home"` |
* Page Down => "pagedown"
| End | `"end"` |
* Tab => "tab"
| Page | `"pageup"` |
* Back Tab => "backtab"
| Page | `"pagedown"` |
* Delete => "del"
| Tab | `"tab"` |
* Insert => "ins"
| Back | `"backtab"` |
* Null => "null"
| Delete | `"del"` |
* Escape => "esc"
| Insert | `"ins"` |
| Null | `"null"` |
| Escape | `"esc"` |
Commands can be found in the source code at `../../helix-term/src/commands.rs`
Commands can be found in the source code at [`helix-term/src/commands.rs`](https://github.com/helix-editor/helix/blob/master/helix-term/src/commands.rs)
@ -4,7 +4,7 @@ First you'll need to place selected themes in your `themes` directory (i.e `~/.c
To use a custom theme add `theme = <name>` to your [`config.toml`](./configuration.md) or override it during runtime using `:theme <name>`.
To use a custom theme add `theme = <name>` to your [`config.toml`](./configuration.md) or override it during runtime using `:theme <name>`.
The default theme.toml can be found [here](https://github.com/helix-editor/helix/blob/master/theme.toml), and user submitted themes [here](https://github.com/helix-editor/helix/blob/master/contrib/themes).
The default theme.toml can be found [here](https://github.com/helix-editor/helix/blob/master/theme.toml), and user submitted themes [here](https://github.com/helix-editor/helix/blob/master/runtime/themes).