aboutsummaryrefslogtreecommitdiff
path: root/helix-term
diff options
context:
space:
mode:
authorBlaž Hrastnik2020-09-13 11:04:16 +0000
committerBlaž Hrastnik2020-09-13 11:04:16 +0000
commitb08278807ee51e279c07dd6b7955713455a4c654 (patch)
tree796ea4ecc8b316b4a1ecaa52122af7e5d9dc37f6 /helix-term
parentfb0f56b7472d221e57b2bec13c9c8668fe673e77 (diff)
Add 'A', 'I' commands.
Diffstat (limited to 'helix-term')
-rw-r--r--helix-term/src/keymap.rs8
1 files changed, 8 insertions, 0 deletions
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
@@ -104,10 +104,18 @@ pub fn default() -> Keymap {
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
} => commands::open_below as Command,