diff options
author | Alexey Chernyshov <eiden127@gmail.com> | 2020-05-07 15:37:49 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-07 15:37:49 +0300 |
commit | 49a1ac96f4a1bcd40af0ed4f89e92aa8f74077db (patch) | |
tree | 739bf0147be981f38430e2446686dc8dae694fbc | |
parent | becd7cf459c5420a4f77764dfe81d50b332af6f2 (diff) | |
download | r-alacritty-49a1ac96f4a1bcd40af0ed4f89e92aa8f74077db.tar.gz r-alacritty-49a1ac96f4a1bcd40af0ed4f89e92aa8f74077db.tar.bz2 r-alacritty-49a1ac96f4a1bcd40af0ed4f89e92aa8f74077db.zip |
Treat Shift + Backspace as Backspace
-rw-r--r-- | CHANGELOG.md | 1 | ||||
-rw-r--r-- | alacritty/src/config/bindings.rs | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 4d956ab0..440b07ac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,6 +26,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Low resolution window decoration icon on Windows - Mouse bindings for additional buttons need to be specified as a number not a string - Don't hide cursor on modifier press with `mouse.hide_when_typing` enabled +- `Shift + Backspace` now sends `^?` instead of `^H` ### Fixed diff --git a/alacritty/src/config/bindings.rs b/alacritty/src/config/bindings.rs index 74e1be37..41a0b1db 100644 --- a/alacritty/src/config/bindings.rs +++ b/alacritty/src/config/bindings.rs @@ -306,6 +306,7 @@ pub fn default_key_bindings() -> Vec<KeyBinding> { L, ModifiersState::CTRL, ~TermMode::VI; Action::Esc("\x0c".into()); Tab, ModifiersState::SHIFT, ~TermMode::VI; Action::Esc("\x1b[Z".into()); Back, ModifiersState::ALT, ~TermMode::VI; Action::Esc("\x1b\x7f".into()); + Back, ModifiersState::SHIFT, ~TermMode::VI; Action::Esc("\x7f".into()); Home, ModifiersState::SHIFT, ~TermMode::ALT_SCREEN; Action::ScrollToTop; End, ModifiersState::SHIFT, ~TermMode::ALT_SCREEN; Action::ScrollToBottom; PageUp, ModifiersState::SHIFT, ~TermMode::ALT_SCREEN; Action::ScrollPageUp; |