diff options
Diffstat (limited to 'helix-term/src/keymap.rs')
-rw-r--r-- | helix-term/src/keymap.rs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/helix-term/src/keymap.rs b/helix-term/src/keymap.rs index c7da0c89..ddbff3ea 100644 --- a/helix-term/src/keymap.rs +++ b/helix-term/src/keymap.rs @@ -116,5 +116,20 @@ pub fn default() -> Keymap { code: KeyCode::Char('l'), modifiers: Modifiers::NONE } => commands::move_char_right as Command, + Key { + code: KeyCode::Char('i'), + modifiers: Modifiers::NONE + } => commands::insert_mode as Command, + Key { + code: KeyCode::Esc, + modifiers: Modifiers::NONE + } => commands::normal_mode as Command, ) + + // hashmap!( + // Key { + // code: KeyCode::Esc, + // modifiers: Modifiers::NONE + // } => commands::normal_mode as Command, + // ) } |