fix(keybindings): thread jumps no longer overlap model picker jumps (#14475)
This commit is contained in:
1 parent
e61eba4745
commit
77c8747150
2 files changed
+3
-2
No files matched your search
@@ -111,7 +111,8 @@ the keyboard. `isWeb` is true in a browser tab. `isDesktop` is true in the
|
||||
desktop app. Unknown keys evaluate to `false`.
|
||||
|
||||
`mod+1` through `mod+9` jump to the first nine threads, and to models while the
|
||||
model picker is open. Those defaults use `isDesktop` so they do not steal the
|
||||
model picker is open. The thread jumps do not run while the model picker is open.
|
||||
Those defaults use `isDesktop` so they do not steal the
|
||||
browser's tab-switch shortcuts. Remove that condition in Settings if you want
|
||||
the same jumps in a browser.
|
||||
|
||||
|
||||
@@ -193,7 +193,7 @@ export const DEFAULT_KEYBINDINGS: ReadonlyArray<KeybindingRule> = [
|
||||
...THREAD_JUMP_KEYBINDING_COMMANDS.map((command, index) => ({
|
||||
key: `mod+${index + 1}`,
|
||||
command,
|
||||
when: "isDesktop",
|
||||
when: "!modelPickerOpen && isDesktop",
|
||||
})),
|
||||
...MODEL_PICKER_JUMP_KEYBINDING_COMMANDS.map((command, index) => ({
|
||||
key: `mod+${index + 1}`,
|
||||
|
||||
Reference in new issue
Block a user