From b96e177ec7aaac4bbb0ab6ffbd0071a4b6171da5 Mon Sep 17 00:00:00 2001 From: Nikita Revenco <154856872+NikitaRevenco@users.noreply.github.com> Date: Fri, 20 Dec 2024 07:49:48 +0000 Subject: [PATCH] fix: map switch_to_title_case --- helix-term/src/commands.rs | 2 +- helix-term/src/keymap/default.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs index cb9e88c4c..210a687f5 100644 --- a/helix-term/src/commands.rs +++ b/helix-term/src/commands.rs @@ -361,7 +361,7 @@ impl MappableCommand { switch_to_lower_case, "Switch to lowercase", switch_to_pascal_case, "Switch to PascalCase", switch_to_camel_case, "Switch to camelCase", - // switch_to_title_case, "Switch to Title Case", + switch_to_title_case, "Switch to Title Case", // switch_to_snake_case, "Switch to snake_case", // switch_to_kebab_case, "Switch to kebab-case", page_up, "Move page up", diff --git a/helix-term/src/keymap/default.rs b/helix-term/src/keymap/default.rs index 6dcff8e04..14c11dafb 100644 --- a/helix-term/src/keymap/default.rs +++ b/helix-term/src/keymap/default.rs @@ -25,7 +25,7 @@ pub fn default() -> HashMap { "u" => switch_to_uppercase, "p" => switch_to_pascal_case, "c" => switch_to_camel_case, - // "t" => switch_to_title_case, + "t" => switch_to_title_case, // "s" => switch_to_snake_case, // "k" => switch_to_kebab_case, },