aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src
diff options
context:
space:
mode:
authorBlaž Hrastnik2020-09-07 08:17:14 +0000
committerBlaž Hrastnik2020-09-07 08:17:14 +0000
commit67017e533691e383363079dccbecbb2afb021be5 (patch)
tree6aec447ec0117dcb3810d747e0791607e9db062d /helix-term/src
parentdd749bb2846584aa20078cfa2aea4fe18678c12c (diff)
append mode
Diffstat (limited to 'helix-term/src')
-rw-r--r--helix-term/src/keymap.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/helix-term/src/keymap.rs b/helix-term/src/keymap.rs
index ddbff3ea..4b176b61 100644
--- a/helix-term/src/keymap.rs
+++ b/helix-term/src/keymap.rs
@@ -121,6 +121,10 @@ pub fn default() -> Keymap {
modifiers: Modifiers::NONE
} => commands::insert_mode as Command,
Key {
+ code: KeyCode::Char('a'),
+ modifiers: Modifiers::NONE
+ } => commands::append_mode as Command,
+ Key {
code: KeyCode::Esc,
modifiers: Modifiers::NONE
} => commands::normal_mode as Command,