aboutsummaryrefslogtreecommitdiff
path: root/helix-term
diff options
context:
space:
mode:
authorwojciechkepka2021-06-19 11:59:02 +0000
committerBlaž Hrastnik2021-06-19 14:16:13 +0000
commit11f20af25fa7335f3f49c0e33d6a2790d60c9647 (patch)
tree2bed6f0caa63e9527c70f0e7816c3a2203d8bf69 /helix-term
parent2cbec2b0470d0759578929b224c445b69617b6b6 (diff)
Make `home` and `end` work in insert mode
Diffstat (limited to 'helix-term')
-rw-r--r--helix-term/src/keymap.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/helix-term/src/keymap.rs b/helix-term/src/keymap.rs
index 24924832..d109ef6f 100644
--- a/helix-term/src/keymap.rs
+++ b/helix-term/src/keymap.rs
@@ -333,6 +333,8 @@ impl Default for Keymaps {
key!(Right) => Command::move_char_right,
key!(PageUp) => Command::page_up,
key!(PageDown) => Command::page_down,
+ key!(Home) => Command::move_line_start,
+ key!(End) => Command::move_line_end,
ctrl!('x') => Command::completion,
ctrl!('w') => Command::delete_word_backward,
),