mirror of https://github.com/helix-editor/helix
docs: remove mention that `-` requires special handling (#12250)
parent
9b14750e56
commit
99fdbce566
|
@ -94,7 +94,6 @@ Special keys are encoded as follows:
|
||||||
| Backspace | `"backspace"` |
|
| Backspace | `"backspace"` |
|
||||||
| Space | `"space"` |
|
| Space | `"space"` |
|
||||||
| Return/Enter | `"ret"` |
|
| Return/Enter | `"ret"` |
|
||||||
| \- | `"minus"` |
|
|
||||||
| Left | `"left"` |
|
| Left | `"left"` |
|
||||||
| Right | `"right"` |
|
| Right | `"right"` |
|
||||||
| Up | `"up"` |
|
| Up | `"up"` |
|
||||||
|
@ -110,3 +109,14 @@ Special keys are encoded as follows:
|
||||||
| Escape | `"esc"` |
|
| Escape | `"esc"` |
|
||||||
|
|
||||||
Keys can be disabled by binding them to the `no_op` command.
|
Keys can be disabled by binding them to the `no_op` command.
|
||||||
|
|
||||||
|
All other keys such as `?`, `!`, `-` etc. can be used literally:
|
||||||
|
|
||||||
|
```toml
|
||||||
|
[keys.normal]
|
||||||
|
"?" = ":write"
|
||||||
|
"!" = ":write"
|
||||||
|
"-" = ":write"
|
||||||
|
```
|
||||||
|
|
||||||
|
Note: `-` can't be used when combined with a modifier, for example `Alt` + `-` should be written as `A-minus`. `A--` is not accepted.
|
||||||
|
|
Loading…
Reference in New Issue