aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src
diff options
context:
space:
mode:
authornotoria2021-06-04 07:34:08 +0000
committerBlaž Hrastnik2021-06-04 08:26:16 +0000
commitadcfcf904445336340944bce3f699bb6365ebf2b (patch)
tree71162c800469515751d3865b27abb42123370632 /helix-term/src
parent4f0e3aa948a83c0d94f942448bfa7740532e55b7 (diff)
Replace ^/$ with gh/gl
Diffstat (limited to 'helix-term/src')
-rw-r--r--helix-term/src/commands.rs2
-rw-r--r--helix-term/src/keymap.rs3
2 files changed, 2 insertions, 3 deletions
diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs
index c5493cd2..796493ea 100644
--- a/helix-term/src/commands.rs
+++ b/helix-term/src/commands.rs
@@ -1269,6 +1269,8 @@ pub fn goto_mode(cx: &mut Context) {
match ch {
'g' => move_file_start(cx),
'e' => move_file_end(cx),
+ 'h' => move_line_start(cx),
+ 'l' => move_line_end(cx),
'd' => goto_definition(cx),
'y' => goto_type_definition(cx),
'r' => goto_reference(cx),
diff --git a/helix-term/src/keymap.rs b/helix-term/src/keymap.rs
index 07012208..b1d8428b 100644
--- a/helix-term/src/keymap.rs
+++ b/helix-term/src/keymap.rs
@@ -153,9 +153,6 @@ pub fn default() -> Keymaps {
//
key!('r') => commands::replace,
- key!('^') => commands::move_line_start,
- key!('$') => commands::move_line_end,
-
key!('w') => commands::move_next_word_start,
key!('b') => commands::move_prev_word_start,
key!('e') => commands::move_next_word_end,