| author | |
| committer | |
| log | 77c8747150d0e140fa3fb303ed5339eb8165aa9f |
| tree | ac1aacd692aef8c9e0825f52408959aed87d97ad |
| parent | e61eba4745f30e9dcd5425cc4a476c2bad7a11fe |
| signature | Signed by PGP key B5690EEEBB952194 |
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 |
| 111 | desktop app. Unknown keys evaluate to `false`. | 111 | desktop app. Unknown keys evaluate to `false`. |
| 112 | 112 | ||
| 113 | `mod+1` through `mod+9` jump to the first nine threads, and to models while the | 113 | `mod+1` through `mod+9` jump to the first nine threads, and to models while the |
| 114 | model picker is open. Those defaults use `isDesktop` so they do not steal the | 114 | model picker is open. The thread jumps do not run while the model picker is open. |
| 115 | Those defaults use `isDesktop` so they do not steal the | ||
| 115 | browser's tab-switch shortcuts. Remove that condition in Settings if you want | 116 | browser's tab-switch shortcuts. Remove that condition in Settings if you want |
| 116 | the same jumps in a browser. | 117 | the same jumps in a browser. |
| 117 | 118 |
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}`, |