Skip to content

Commit 50c0679

Browse files
committed
Remove default insert mode movement bindings
Helix is first and foremost a modal editor. Willingness to support non-modal editing is there, but it is not one that should be encouraged with the default settings. There are an increasing number of users who are stumbling because they are trying to use Helix as a non-modal editor, so this is an effort to encourage new users to stop and take notice that Helix has a different paradigm than VSCode, Sublime, etc. Users can still add these bindings back to their own configs if they wish.
1 parent c93d52c commit 50c0679

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

helix-term/src/keymap/default.rs

-19
Original file line numberDiff line numberDiff line change
@@ -355,25 +355,6 @@ pub fn default() -> HashMap<Mode, Keymap> {
355355
"A-del" => delete_word_forward,
356356
"C-s" => commit_undo_checkpoint,
357357

358-
"left" => move_char_left,
359-
"C-b" => move_char_left,
360-
"down" => move_line_down,
361-
"up" => move_line_up,
362-
"right" => move_char_right,
363-
"C-f" => move_char_right,
364-
"A-b" => move_prev_word_end,
365-
"C-left" => move_prev_word_end,
366-
"A-f" => move_next_word_start,
367-
"C-right" => move_next_word_start,
368-
"A-<" => goto_file_start,
369-
"A->" => goto_file_end,
370-
"pageup" => page_up,
371-
"pagedown" => page_down,
372-
"home" => goto_line_start,
373-
"C-a" => goto_line_start,
374-
"end" => goto_line_end_newline,
375-
"C-e" => goto_line_end_newline,
376-
377358
"C-k" => kill_to_line_end,
378359
"C-u" => kill_to_line_start,
379360

0 commit comments

Comments
 (0)