keymaps: Add Ctrl+R open recent binding for macOS and Linux#52893
keymaps: Add Ctrl+R open recent binding for macOS and Linux#52893ConradIrwin merged 1 commit intozed-industries:mainfrom
Conversation
VSCode binds Ctrl+R to open recent workspaces on all platforms. Zed already had this binding in default-windows.json but it was missing from default-macos.json and default-linux.json, meaning users who selected VS Code keybindings on those platforms would not get the expected behavior. Fixes zed-industries#52879
|
@davidalecrim1 I think we should leave those comments in place; but this seems reasonable. ctrl-r is apparently also refresh in the diagnostics pane, though that seems "fine" to conflict for now. (For some reason cmd-r is collaboration, which makes a bit less sense). |
|
Which comments are you referring to @ConradIrwin ? I agree the conflict is fine since the goal is to keep the muscle memory from someone coming from VS Code and later on they can change this as desired. |
|
Hey folks 👋 Seems like these changes break the ability to use |
|
@zed-zippy approved (with the follow up PR from Dino!) |
…stries#52893) Closes zed-industries#52879 ## Summary VS Code binds `Ctrl+R` to open recent workspaces/folders on all platforms (Windows, macOS, and Linux). Zed already had this binding in `default-windows.json`, but it was missing from `default-macos.json` and `default-linux.json`. Since `BaseKeymap::VSCode` returns no supplemental keymap file and relies entirely on the platform default keymaps, users who selected VS Code keybindings on macOS or Linux would not get the expected `Ctrl+R` behavior — instead getting nothing, or having to use the non-VSCode binding (`Alt+Cmd+O` / `Alt+Ctrl+O`). This adds the missing binding to both platform defaults, consistent with what Windows already had. ## Screenshot The default keybinding in VS Code: <img width="1512" height="319" alt="Screenshot 2026-04-01 at 07 38 09" src="https://github.com/user-attachments/assets/12d483a3-3c52-4649-a00f-ee2b8e40bc8c" /> Release Notes: - Added `Ctrl+R` keybinding for opening recent projects on macOS and Linux, matching VS Code's default behavior on all platforms.

Closes #52879
Summary
VS Code binds
Ctrl+Rto open recent workspaces/folders on all platforms (Windows, macOS, and Linux). Zed already had this binding indefault-windows.json, but it was missing fromdefault-macos.jsonanddefault-linux.json.Since
BaseKeymap::VSCodereturns no supplemental keymap file and relies entirely on the platform default keymaps, users who selected VS Code keybindings on macOS or Linux would not get the expectedCtrl+Rbehavior — instead getting nothing, or having to use the non-VSCode binding (Alt+Cmd+O/Alt+Ctrl+O).This adds the missing binding to both platform defaults, consistent with what Windows already had.
Screenshot
The default keybinding in VS Code:

Release Notes:
Ctrl+Rkeybinding for opening recent projects on macOS and Linux, matching VS Code's default behavior on all platforms.