aboutsummaryrefslogtreecommitdiff
path: root/helix-view/src/keymap.rs
diff options
context:
space:
mode:
Diffstat (limited to 'helix-view/src/keymap.rs')
-rw-r--r--helix-view/src/keymap.rs12
1 files changed, 12 insertions, 0 deletions
diff --git a/helix-view/src/keymap.rs b/helix-view/src/keymap.rs
index 705357a8..9fabf41d 100644
--- a/helix-view/src/keymap.rs
+++ b/helix-view/src/keymap.rs
@@ -103,6 +103,18 @@ pub fn default() -> Keymaps {
modifiers: Modifiers::NONE
}] => commands::move_char_right as Command,
vec![Key {
+ code: KeyCode::Char('w'),
+ modifiers: Modifiers::NONE
+ }] => commands::move_next_word_start as Command,
+ vec![Key {
+ code: KeyCode::Char('b'),
+ modifiers: Modifiers::NONE
+ }] => commands::move_prev_word_start as Command,
+ vec![Key {
+ code: KeyCode::Char('e'),
+ modifiers: Modifiers::NONE
+ }] => commands::move_next_word_end as Command,
+ vec![Key {
code: KeyCode::Char('i'),
modifiers: Modifiers::NONE
}] => commands::insert_mode as Command,