CUA Guidelines and Zed On Windows #28340
OnorioCatenacci
started this conversation in
Help on Windows
Replies: 1 comment
-
|
And since I mentioned having a solution here's what I came up with (in \assets\keymaps\default-linux.json) "bindings": {
"home": "menu::SelectFirst",
"shift-pageup": "menu::SelectFirst",
"pageup": "menu::SelectFirst",
"end": "menu::SelectLast",
"shift-pagedown": "menu::SelectLast",
"pagedown": "menu::SelectLast",
"ctrl-n": "menu::SelectNext",
"tab": "menu::SelectNext",
"ctrl-p": "menu::SelectPrevious",
"shift-tab": "menu::SelectPrevious",
"enter": "menu::Confirm",
"ctrl-enter": "menu::SecondaryConfirm",
"ctrl-escape": "menu::Cancel",
"ctrl-c": "menu::Cancel",
"escape": "menu::Cancel",
"alt-shift-enter": "menu::Restart",
"alt-enter": ["picker::ConfirmInput", { "secondary": false }],
"ctrl-alt-enter": ["picker::ConfirmInput", { "secondary": true }],
"ctrl-shift-w": "workspace::CloseWindow",
"shift-escape": "workspace::ToggleZoom",
"open": "workspace::Open",
"ctrl-o": "workspace::Open",
"ctrl-=": ["zed::IncreaseBufferFontSize", { "persist": false }],
"ctrl-+": ["zed::IncreaseBufferFontSize", { "persist": false }],
"ctrl--": ["zed::DecreaseBufferFontSize", { "persist": false }],
"ctrl-0": ["zed::ResetBufferFontSize", { "persist": false }],
"ctrl-,": "zed::OpenSettings",
"ctrl-q": "zed::Quit",
"f1": ["app_menu::OpenApplicationMenu", "Help"],
"f4": "debugger::Start",
"f5": "debugger::Continue",
"shift-f5": "debugger::Stop",
"f6": "debugger::Pause",
"f7": "debugger::StepOver",
**"f10": ["app_menu::OpenApplicationMenu", "Zed"],**
"cmd-f11": "debugger::StepInto",
"shift-f11": "debugger::StepOut",
"f11": "zed::ToggleFullScreen",
"ctrl-alt-z": "edit_prediction::RateCompletions",
"ctrl-shift-i": "edit_prediction::ToggleMenu"
}
}, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
One of the CUA standards that has been around for a while is that pressing F10 should bring up the menu. While I wouldn't consider this a major issue, for people who are able to touch type, having to move their hands off of the keyboard to move the mouse up to the main menu is a bit inconvenient. As far as I can tell Linux GUI's (Gnome at least) also support this conventional behavior for F10.
I'm sorry I sort of jumped the gun on this issue because I wanted to bring a solution rather than pointing out a problem and I've solved this on my own Zed branch but, of course, I'd like to add it to the main Zed repo if that's acceptable. I did (again my apologies for jumping the gun) create a bug in the Zed issues concerning this behavior as well: #27271
@notpeter was kind enough to discuss this with me a bit on Discord: https://discord.com/channels/869392257814519848/1319906240075403335/1357743378334355570
Beta Was this translation helpful? Give feedback.
All reactions