aboutsummaryrefslogtreecommitdiff
path: root/helix-view/src/keymap.rs
diff options
context:
space:
mode:
authorJan Hrastnik2020-09-25 14:04:58 +0000
committerJan Hrastnik2020-09-25 14:04:58 +0000
commitfbe313779e83728b7dca7925df722c7fb4228d98 (patch)
treeb6303a58eb5bb98e36fb78b9511dcfb1950396ec /helix-view/src/keymap.rs
parente0785aabe7618d5211f258a058bf08892ff04d06 (diff)
added move_line_start and move_line_end
Diffstat (limited to 'helix-view/src/keymap.rs')
-rw-r--r--helix-view/src/keymap.rs8
1 files changed, 8 insertions, 0 deletions
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
@@ -99,6 +99,14 @@ pub fn default() -> Keymaps {
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
}] => commands::move_char_right as Command,