Change default keybindings using option+key for macOS to make possible to input text with those key combinations. Mostly changes on modifier keys for some operations: status control panels will switch with mod+number and ctrl+number will switch to tab number, also ctrl+tab and ctrl+shift+tab will advance and move to previous tab.

Also: "lsp-symbol-code-action" will default to cmd+return. "format-doc" will default to mod+option+f.
Important: these changes do not *change* any currently configured shortcut, existing users will have to migrate manually, this is intentional to not disrupt current users work flows.
These changes are for the issue: SpartanJ/ecode#877.
This commit is contained in:
Martín Lucas Golini
2026-04-14 20:56:49 -03:00
parent 530c869a02
commit 4a4da521d9
15 changed files with 112 additions and 62 deletions

View File

@@ -574,7 +574,11 @@ void DebuggerPlugin::loadDAPConfig( const std::string& path, bool updateConfigFi
mKeyBindings["debugger-step-over"] = "f10";
mKeyBindings["debugger-step-into"] = "f11";
mKeyBindings["debugger-step-out"] = "shift+f11";
#if EE_PLATFORM == EE_PLATFORM_MACOS
mKeyBindings["toggle-status-app-debugger"] = "mod+6";
#else
mKeyBindings["toggle-status-app-debugger"] = "alt+6";
#endif
}
if ( j.contains( "keybindings" ) ) {