authorgravatar for 193831219+Fluffy-Bunny-23@users.noreply.github.comFluffy-Bunny-23 <193831219+Fluffy-Bunny-23@users.noreply.github.com> 2026-10-10 20:01:13-07:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2026-10-11 03:01:13+00:00
log77c8747150d0e140fa3fb303ed5339eb8165aa9f
treeac1aacd692aef8c9e0825f52408959aed87d97ad
parente61eba4745f30e9dcd5425cc4a476c2bad7a11fe
signature Signed by PGP key B5690EEEBB952194

fix(keybindings): thread jumps no longer overlap model picker jumps (#14475)


2 files changed, 3 insertions(+), 2 deletions(-)

docs/user/keybindings.md+2-1
...@@ -111,7 +111,8 @@ the keyboard. `isWeb` is true in a browser tab. `isDesktop` is true in the...@@ -111,7 +111,8 @@ the keyboard. `isWeb` is true in a browser tab. `isDesktop` is true in the
111desktop app. Unknown keys evaluate to `false`.111desktop app. Unknown keys evaluate to `false`.
112112
113`mod+1` through `mod+9` jump to the first nine threads, and to models while the113`mod+1` through `mod+9` jump to the first nine threads, and to models while the
114model picker is open. Those defaults use `isDesktop` so they do not steal the114model picker is open. The thread jumps do not run while the model picker is open.
115Those defaults use `isDesktop` so they do not steal the
115browser's tab-switch shortcuts. Remove that condition in Settings if you want116browser's tab-switch shortcuts. Remove that condition in Settings if you want
116the same jumps in a browser.117the same jumps in a browser.
117118
packages/shared/src/keybindings.ts+1-1
...@@ -193,7 +193,7 @@ export const DEFAULT_KEYBINDINGS: ReadonlyArray<KeybindingRule> = [...@@ -193,7 +193,7 @@ export const DEFAULT_KEYBINDINGS: ReadonlyArray<KeybindingRule> = [
193 ...THREAD_JUMP_KEYBINDING_COMMANDS.map((command, index) => ({193 ...THREAD_JUMP_KEYBINDING_COMMANDS.map((command, index) => ({
194 key: `mod+${index + 1}`,194 key: `mod+${index + 1}`,
195 command,195 command,
196 when: "isDesktop",196 when: "!modelPickerOpen && isDesktop",
197 })),197 })),
198 ...MODEL_PICKER_JUMP_KEYBINDING_COMMANDS.map((command, index) => ({198 ...MODEL_PICKER_JUMP_KEYBINDING_COMMANDS.map((command, index) => ({
199 key: `mod+${index + 1}`,199 key: `mod+${index + 1}`,