From fbe313779e83728b7dca7925df722c7fb4228d98 Mon Sep 17 00:00:00 2001 From: Jan Hrastnik Date: Fri, 25 Sep 2020 16:04:58 +0200 Subject: added move_line_start and move_line_end --- helix-view/src/keymap.rs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'helix-view/src/keymap.rs') diff --git a/helix-view/src/keymap.rs b/helix-view/src/keymap.rs index 9fabf41d..5d9b6653 100644 --- a/helix-view/src/keymap.rs +++ b/helix-view/src/keymap.rs @@ -98,6 +98,14 @@ pub fn default() -> Keymaps { code: KeyCode::Char('k'), modifiers: Modifiers::NONE }] => commands::move_line_up as Command, + vec![Key { + code: KeyCode::Char('0'), + modifiers: Modifiers::NONE + }] => commands::move_line_start as Command, + vec![Key { + code: KeyCode::Char('$'), + modifiers: Modifiers::NONE + }] => commands::move_line_end as Command, vec![Key { code: KeyCode::Char('l'), modifiers: Modifiers::NONE -- cgit v1.2.3-70-g09d2