Fix the linux keymap (#9829)

Earlier versions where a simple find-replace of `cmd` => `ctrl`. In this
PR, I've gone over every keybinding individually and checked them.

Release Notes:

- Removed the `ShowContextMenu` action, it's only usage was in the
collab panel and it's been rebound to `SecondaryConfirm`
This commit is contained in:
Mikayla Maki 2024-03-26 16:10:09 -07:00 committed by GitHub
parent 3676ca879b
commit 40f60ebe2d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 147 additions and 133 deletions

View file

@ -129,7 +129,7 @@ impl PickerStory {
KeyBinding::new("cmd-up", menu::SelectFirst, Some("picker")),
KeyBinding::new("cmd-down", menu::SelectLast, Some("picker")),
KeyBinding::new("enter", menu::Confirm, Some("picker")),
KeyBinding::new("ctrl-enter", menu::ShowContextMenu, Some("picker")),
KeyBinding::new("ctrl-enter", menu::SecondaryConfirm, Some("picker")),
KeyBinding::new("cmd-enter", menu::SecondaryConfirm, Some("picker")),
KeyBinding::new("escape", menu::Cancel, Some("picker")),
KeyBinding::new("ctrl-c", menu::Cancel, Some("picker")),