forge
Explore
Log in

Don't you dare go Hollow

Use ctrl key bindings since gpui rejects secondary

Browse files at this commit

d46d713f89b064602b2158dc29aec08f8de00f1cAhmet Kaan GümüşParent: 62e0f76
  • fix
    • use ctrl key bindings since gpui rejects secondary
Show full message
🐛 fix: use ctrl key bindings since gpui rejects secondary
crates/client/src/gui/composer.rsmodified+4 -4
@@ -493,10 +493,10 @@ impl Yumush {
493 pub fn bind_keys(cx: &mut App) {493 pub fn bind_keys(cx: &mut App) {
494 let scope = format!("{CONTEXT} > Input");494 let scope = format!("{CONTEXT} > Input");
495 cx.bind_keys([495 cx.bind_keys([
496- KeyBinding::new("secondary-b", Bold, Some(scope.as_str())),496+ KeyBinding::new("ctrl-b", Bold, Some(scope.as_str())),
497- KeyBinding::new("secondary-i", Italic, Some(scope.as_str())),497+ KeyBinding::new("ctrl-i", Italic, Some(scope.as_str())),
498- KeyBinding::new("secondary-e", Code, Some(scope.as_str())),498+ KeyBinding::new("ctrl-e", Code, Some(scope.as_str())),
499- KeyBinding::new("secondary-shift-x", Strike, Some(scope.as_str())),499+ KeyBinding::new("ctrl-shift-x", Strike, Some(scope.as_str())),
500 ]);500 ]);
501 }501 }
502 502