Open a project with Cmd+O (#1849)

* feat(app): open a project with Cmd+O

Cmd+O now opens the project picker (was Cmd+Shift+O). New worktree,
which previously used Cmd+O, no longer has a keyboard shortcut; its
sidebar button still creates one.

* test(app): assert old Cmd+Shift+O open-project binding is unbound

Locks in the rebind to Cmd+O so re-adding a Cmd+Shift+O binding would fail CI.

* fix(app): keep Open project override id stable and forward Cmd+O in desktop browser

- Binding ids for Open project keep their original names so existing user
  shortcut overrides (keyed by binding id) survive the Cmd+Shift+O -> Cmd+O rebind.
- Forward "o" from focused browser webviews in the desktop app so Cmd/Ctrl+O
  reaches the renderer and opens the project picker there too.
This commit is contained in:
Mohamed Boudra
2026-07-02 02:11:11 +08:00
committed by GitHub
parent bf5e3b47e7
commit 31e9a210d0
3 changed files with 26 additions and 38 deletions
+1
View File
@@ -90,6 +90,7 @@ const FORWARDED_PASEO_SHORTCUT_KEYS = new Set([
"w",
"t",
"k",
"o",
"/",
"\\",
",",