mirror of https://github.com/helix-editor/helix
feat: restore default `~` keymap for switch to alternate text
parent
fdd1a1c78f
commit
54dbc1bd44
|
@ -70,6 +70,7 @@ 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 yanked text | `replace_with_yanked` |
|
||||
| `~` | Switch case of the selected text | `switch_to_alternate_case`|
|
||||
| `i` | Insert before selection | `insert_mode` |
|
||||
| `a` | Insert after selection (append) | `append_mode` |
|
||||
| `I` | Insert at the start of the line | `insert_at_line_start` |
|
||||
|
|
|
@ -19,6 +19,7 @@ pub fn default() -> HashMap<Mode, KeyTrie> {
|
|||
"R" => replace_with_yanked,
|
||||
"A-." => repeat_last_motion,
|
||||
|
||||
"~" => switch_to_alternate_case,
|
||||
"`" => { "Case"
|
||||
"a" => switch_to_alternate_case,
|
||||
"l" => switch_to_lowercase,
|
||||
|
|
Loading…
Reference in New Issue