mirror of https://github.com/helix-editor/helix
docs: document new keymappings
parent
c1c63a0e55
commit
59d65beeac
|
@ -53,9 +53,9 @@
|
||||||
| `extend_prev_char` | Extend to previous occurrence of char | select: `` F `` |
|
| `extend_prev_char` | Extend to previous occurrence of char | select: `` F `` |
|
||||||
| `repeat_last_motion` | Repeat last motion | normal: `` <A-.> ``, select: `` <A-.> `` |
|
| `repeat_last_motion` | Repeat last motion | normal: `` <A-.> ``, select: `` <A-.> `` |
|
||||||
| `replace` | Replace with new char | normal: `` r ``, select: `` r `` |
|
| `replace` | Replace with new char | normal: `` r ``, select: `` r `` |
|
||||||
| `switch_to_alternate_case` | Switch to aLTERNATE cASE | normal: `` ~ ``, select: `` ~ `` |
|
| `switch_to_alternate_case` | Switch to aLTERNATE cASE | normal: `` `a ``, select: `` `a `` |
|
||||||
| `switch_to_upper_case` | Switch to UPPERCASE | normal: `` `u ``, select: `` `u `` |
|
| `switch_to_uppercase` | Switch to UPPERCASE | normal: `` `u ``, select: `` `u `` |
|
||||||
| `switch_to_lower_case` | Switch to lowercase | normal: `` `l ``, select: `` `l `` |
|
| `switch_to_lowercase` | Switch to lowercase | normal: `` `l ``, select: `` `l `` |
|
||||||
| `switch_to_pascal_case` | Switch to PascalCase | normal: `` `p ``, select: `` `p `` |
|
| `switch_to_pascal_case` | Switch to PascalCase | normal: `` `p ``, select: `` `p `` |
|
||||||
| `switch_to_camel_case` | Switch to camelCase | normal: `` `c ``, select: `` `c `` |
|
| `switch_to_camel_case` | Switch to camelCase | normal: `` `c ``, select: `` `c `` |
|
||||||
| `switch_to_title_case` | Switch to Title Case | normal: `` `t ``, select: `` `t `` |
|
| `switch_to_title_case` | Switch to Title Case | normal: `` `t ``, select: `` `t `` |
|
||||||
|
|
|
@ -70,7 +70,6 @@ Normal mode is the default mode when you launch helix. You can return to it from
|
||||||
| ----- | ----------- | ------- |
|
| ----- | ----------- | ------- |
|
||||||
| `r` | Replace with a character | `replace` |
|
| `r` | Replace with a character | `replace` |
|
||||||
| `R` | Replace with yanked text | `replace_with_yanked` |
|
| `R` | Replace with yanked text | `replace_with_yanked` |
|
||||||
| `~` | Switch case of the selected text | `switch_case` |
|
|
||||||
| `i` | Insert before selection | `insert_mode` |
|
| `i` | Insert before selection | `insert_mode` |
|
||||||
| `a` | Insert after selection (append) | `append_mode` |
|
| `a` | Insert after selection (append) | `append_mode` |
|
||||||
| `I` | Insert at the start of the line | `insert_at_line_start` |
|
| `I` | Insert at the start of the line | `insert_at_line_start` |
|
||||||
|
@ -242,13 +241,14 @@ Various commands for changing the case of text in different ways.
|
||||||
|
|
||||||
| Key | Description | Command |
|
| Key | Description | Command |
|
||||||
| ----- | ----------- | ------- |
|
| ----- | ----------- | ------- |
|
||||||
| `l` | Switch all text to lowercase | `switch_to_lowercase` |
|
| `l` | Switch text to lowercase | `switch_to_lowercase` |
|
||||||
| `u` | Switch all text to UPPERCASE | `switch_to_uppercase` |
|
| `u` | Switch text to UPPERCASE | `switch_to_uppercase` |
|
||||||
| `p` | Switch text to Pascal Case | `switch_to_pascal_case` |
|
| `p` | Switch text to Pascal Case | `switch_to_pascal_case` |
|
||||||
| `c` | Switch text to camelCase | `switch_to_camel_case` |
|
| `c` | Switch text to camelCase | `switch_to_camel_case` |
|
||||||
| `t` | Switch text to Title Case | `switch_to_title_case` |
|
| `t` | Switch text to Title Case | `switch_to_title_case` |
|
||||||
| `s` | Switch text to snake_case | `switch_to_snake_case` |
|
| `s` | Switch text to snake_case | `switch_to_snake_case` |
|
||||||
| `k` | Switch text to kebab-case | `switch_to_kebab_case` |
|
| `k` | Switch text to kebab-case | `switch_to_kebab_case` |
|
||||||
|
| `a` | Switch text to aLTERNATE cASE | `switch_to_alternate_case` |
|
||||||
|
|
||||||
TODO: Mappings for selecting syntax nodes (a superset of `[`).
|
TODO: Mappings for selecting syntax nodes (a superset of `[`).
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue