From dc11124df54cd4f03d5bfa814e33262643483e87 Mon Sep 17 00:00:00 2001 From: Jan Hrastnik Date: Thu, 1 Oct 2020 21:16:24 +0200 Subject: added tab to insert mode --- helix-view/src/keymap.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'helix-view/src/keymap.rs') 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, ) ) } -- cgit v1.2.3-70-g09d2