From b08278807ee51e279c07dd6b7955713455a4c654 Mon Sep 17 00:00:00 2001 From: Blaž Hrastnik Date: Sun, 13 Sep 2020 20:04:16 +0900 Subject: Add 'A', 'I' commands. --- helix-term/src/keymap.rs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'helix-term/src') diff --git a/helix-term/src/keymap.rs b/helix-term/src/keymap.rs index 32515761..5611e104 100644 --- a/helix-term/src/keymap.rs +++ b/helix-term/src/keymap.rs @@ -103,10 +103,18 @@ pub fn default() -> Keymap { code: KeyCode::Char('i'), modifiers: Modifiers::NONE } => commands::insert_mode as Command, + Key { + code: KeyCode::Char('I'), + modifiers: Modifiers::SHIFT, + } => commands::prepend_to_line as Command, Key { code: KeyCode::Char('a'), modifiers: Modifiers::NONE } => commands::append_mode as Command, + Key { + code: KeyCode::Char('A'), + modifiers: Modifiers::SHIFT, + } => commands::append_to_line as Command, Key { code: KeyCode::Char('o'), modifiers: Modifiers::NONE -- cgit v1.2.3-70-g09d2