diff options
Diffstat (limited to 'helix-term')
-rw-r--r-- | helix-term/src/commands.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs index b00e02b9..1b0c557e 100644 --- a/helix-term/src/commands.rs +++ b/helix-term/src/commands.rs @@ -1132,6 +1132,10 @@ where } KeyEvent { + code: KeyCode::Tab, .. + } => '\t', + + KeyEvent { code: KeyCode::Char(ch), .. } => ch, @@ -1277,6 +1281,9 @@ fn replace(cx: &mut Context) { code: KeyCode::Enter, .. } => Some(doc.line_ending.as_str()), + KeyEvent { + code: KeyCode::Tab, .. + } => Some("\t"), _ => None, }; |