diff options
author | Jan Hrastnik | 2020-10-01 19:16:24 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2020-10-04 06:40:16 +0000 |
commit | dc11124df54cd4f03d5bfa814e33262643483e87 (patch) | |
tree | d928daa1834f4a457f4982dae8fe3a84792f7a86 /helix-view/src/commands.rs | |
parent | 956ccc7b5ccd0287ebae50ff5ce5309fb1d1c5dc (diff) |
added tab to insert mode
Diffstat (limited to 'helix-view/src/commands.rs')
-rw-r--r-- | helix-view/src/commands.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/helix-view/src/commands.rs b/helix-view/src/commands.rs index 1fb9c90e..6dd1101c 100644 --- a/helix-view/src/commands.rs +++ b/helix-view/src/commands.rs @@ -301,6 +301,10 @@ pub fn insert_char(view: &mut View, c: char) { // TODO: need to store into history if successful } +pub fn insert_tab(view: &mut View, _count: usize) { + insert_char(view, '\t'); +} + pub fn insert_newline(view: &mut View, _count: usize) { insert_char(view, '\n'); } |