aboutsummaryrefslogtreecommitdiff
path: root/helix-view/src/keymap.rs
diff options
context:
space:
mode:
authorJan Hrastnik2020-10-01 19:16:24 +0000
committerBlaž Hrastnik2020-10-04 06:40:16 +0000
commitdc11124df54cd4f03d5bfa814e33262643483e87 (patch)
treed928daa1834f4a457f4982dae8fe3a84792f7a86 /helix-view/src/keymap.rs
parent956ccc7b5ccd0287ebae50ff5ce5309fb1d1c5dc (diff)
added tab to insert mode
Diffstat (limited to 'helix-view/src/keymap.rs')
-rw-r--r--helix-view/src/keymap.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/helix-view/src/keymap.rs b/helix-view/src/keymap.rs
index d4ab85a2..ef23ff2a 100644
--- a/helix-view/src/keymap.rs
+++ b/helix-view/src/keymap.rs
@@ -157,6 +157,10 @@ pub fn default() -> Keymaps {
code: KeyCode::Enter,
modifiers: Modifiers::NONE
}] => commands::insert_newline,
+ vec![Key {
+ code: KeyCode::Tab,
+ modifiers: Modifiers::NONE
+ }] => commands::insert_tab,
)
)
}