From adcfcf904445336340944bce3f699bb6365ebf2b Mon Sep 17 00:00:00 2001 From: notoria Date: Fri, 4 Jun 2021 09:34:08 +0200 Subject: Replace ^/$ with gh/gl --- helix-term/src/commands.rs | 2 ++ helix-term/src/keymap.rs | 3 --- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'helix-term') 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, -- cgit v1.2.3-70-g09d2