diff options
author | Kirill Chibisov <contact@kchibisov.com> | 2023-07-18 05:55:38 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-18 05:55:38 +0000 |
commit | 31fe27b237708ec5f18eee2b326c3efc112216bc (patch) | |
tree | e995d3fea13e5773b6c1606dfa25c11fad3636ec | |
parent | 296eb554601387662ecb9345c71760ea3ce8ceb1 (diff) | |
download | alacritty-31fe27b237708ec5f18eee2b326c3efc112216bc.tar.gz alacritty-31fe27b237708ec5f18eee2b326c3efc112216bc.zip |
Use lowercase latters in bindings for h/m/l
They were using uppercase latters, however our config expects everything
as lowercase, because we're using `key_without_modifiers` +
`ModifiersState`.
-rw-r--r-- | alacritty/src/config/bindings.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/alacritty/src/config/bindings.rs b/alacritty/src/config/bindings.rs index b6cf9e50..1ca5e415 100644 --- a/alacritty/src/config/bindings.rs +++ b/alacritty/src/config/bindings.rs @@ -465,9 +465,9 @@ pub fn default_key_bindings() -> Vec<KeyBinding> { "0", +BindingMode::VI, ~BindingMode::SEARCH; ViMotion::First; "4", ModifiersState::SHIFT, +BindingMode::VI, ~BindingMode::SEARCH; ViMotion::Last; "6", ModifiersState::SHIFT, +BindingMode::VI, ~BindingMode::SEARCH; ViMotion::FirstOccupied; - "H", ModifiersState::SHIFT, +BindingMode::VI, ~BindingMode::SEARCH; ViMotion::High; - "M", ModifiersState::SHIFT, +BindingMode::VI, ~BindingMode::SEARCH; ViMotion::Middle; - "L", ModifiersState::SHIFT, +BindingMode::VI, ~BindingMode::SEARCH; ViMotion::Low; + "h", ModifiersState::SHIFT, +BindingMode::VI, ~BindingMode::SEARCH; ViMotion::High; + "m", ModifiersState::SHIFT, +BindingMode::VI, ~BindingMode::SEARCH; ViMotion::Middle; + "l", ModifiersState::SHIFT, +BindingMode::VI, ~BindingMode::SEARCH; ViMotion::Low; "b", +BindingMode::VI, ~BindingMode::SEARCH; ViMotion::SemanticLeft; "w", +BindingMode::VI, ~BindingMode::SEARCH; ViMotion::SemanticRight; "e", +BindingMode::VI, ~BindingMode::SEARCH; ViMotion::SemanticRightEnd; |