From c22873c33fa0163257b1421faa6f91268ad3a4d1 Mon Sep 17 00:00:00 2001 From: Ivan Tham Date: Fri, 29 Apr 2022 14:50:01 +0800 Subject: Change A-left right to C-left right in insert (#2193) Currently A-left move one word left and the behavior will be more consistent for people coming GUI world if the key was changed to control given that both browsers and editors like vscode uses C-left right by default to move word rather than alt.--- helix-term/src/keymap/default.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'helix-term/src') diff --git a/helix-term/src/keymap/default.rs b/helix-term/src/keymap/default.rs index da5127b2..db24e97a 100644 --- a/helix-term/src/keymap/default.rs +++ b/helix-term/src/keymap/default.rs @@ -336,9 +336,9 @@ pub fn default() -> HashMap { "right" => move_char_right, "C-f" => move_char_right, "A-b" => move_prev_word_end, - "A-left" => move_prev_word_end, + "C-left" => move_prev_word_end, "A-f" => move_next_word_start, - "A-right" => move_next_word_start, + "C-right" => move_next_word_start, "A-<" => goto_file_start, "A->" => goto_file_end, "pageup" => page_up, -- cgit v1.2.3-70-g09d2