aboutsummaryrefslogtreecommitdiff
path: root/helix-term
diff options
context:
space:
mode:
authorSkyler Hawthorne2022-09-03 18:22:17 +0000
committerMichael Davis2022-09-08 22:36:04 +0000
commite12690e2f5c881db731bc8e7efe8554d5d423e78 (patch)
tree6e9ed7eb6c11570a10d49fd6d7f9583182f047a8 /helix-term
parent5ab85283e944b9b0409c70953c7655b9c5f84067 (diff)
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.
Diffstat (limited to 'helix-term')
-rw-r--r--helix-term/src/keymap/default.rs19
1 files changed, 0 insertions, 19 deletions
diff --git a/helix-term/src/keymap/default.rs b/helix-term/src/keymap/default.rs
index fd7ea457..f07d4028 100644
--- a/helix-term/src/keymap/default.rs
+++ b/helix-term/src/keymap/default.rs
@@ -355,25 +355,6 @@ pub fn default() -> HashMap<Mode, Keymap> {
"A-del" => delete_word_forward,
"C-s" => commit_undo_checkpoint,
- "left" => move_char_left,
- "C-b" => move_char_left,
- "down" => move_line_down,
- "up" => move_line_up,
- "right" => move_char_right,
- "C-f" => move_char_right,
- "A-b" => move_prev_word_end,
- "C-left" => move_prev_word_end,
- "A-f" => move_next_word_start,
- "C-right" => move_next_word_start,
- "A-<" => goto_file_start,
- "A->" => goto_file_end,
- "pageup" => page_up,
- "pagedown" => page_down,
- "home" => goto_line_start,
- "C-a" => goto_line_start,
- "end" => goto_line_end_newline,
- "C-e" => goto_line_end_newline,
-
"C-k" => kill_to_line_end,
"C-u" => kill_to_line_start,