feat!: remap switch_to_alternate_case from ~ to `a

pull/12043/head
Nikita Revenco 2024-12-20 12:33:58 +00:00
parent f8b9497dbc
commit c1c63a0e55
2 changed files with 3 additions and 3 deletions

View File

@ -356,7 +356,7 @@ impl MappableCommand {
extend_prev_char, "Extend to previous occurrence of char",
repeat_last_motion, "Repeat last motion",
replace, "Replace with new char",
switch_case, "Switch to aLTERNATE cASE",
switch_to_alternate_case, "Switch to aLTERNATE cASE",
switch_to_uppercase, "Switch to UPPERCASE",
switch_to_lowercase, "Switch to lowercase",
switch_to_pascal_case, "Switch to PascalCase",
@ -1803,7 +1803,7 @@ fn switch_to_uppercase(cx: &mut Context) {
switch_case_impl(cx, |chars| to_uppercase(chars))
}
fn switch_case(cx: &mut Context) {
fn switch_to_alternate_case(cx: &mut Context) {
switch_case_impl(cx, |chars| to_alternate_case(chars))
}

View File

@ -19,8 +19,8 @@ pub fn default() -> HashMap<Mode, KeyTrie> {
"R" => replace_with_yanked,
"A-." => repeat_last_motion,
"~" => switch_case,
"`" => { "Case"
"a" => switch_to_alternate_case,
"l" => switch_to_lowercase,
"u" => switch_to_uppercase,
"p" => switch_to_pascal_case,