Customize keybindings
Appearance and shortcuts
Settings → Keybindings on web and desktop lets you customize shortcuts and lists available command IDs and defaults. Keybindings are stored in ~/.t3/userdata/keybindings.json on the environment's machine.
T3 Code docs: keybindings
What it’s for
Free conflicting shortcuts, assign keys to unbound commands such as thread.stop, or write conditional rules with when expressions.
T3 Code docs: keybindings
When to use it
Use this when a custom desktop shortcut takes the same keys, or when a default clashes in a browser. For example, Cmd+W (Ctrl+W on Windows/Linux) closes the browser tab, so rebind rightPanel.close and terminal.close to an available shortcut such as alt+w.
T3 Code docs: keybindings
How to use it
Or edit keybindings.json as an array of rules with key, command, and optional when, such as mod+shift+d or ctrl+l.
T3 Code docs: keybindings
Combine context keys like terminalFocus with !, &&, and ||; the last matching rule wins, so put specific rules after general ones.
T3 Code docs: keybindings
Keep !terminalFocus when remapping defaults so they do not intercept terminal input.
T3 Code docs: keybindings
What’s changed
- You can now unassign default keyboard shortcuts.Updated Nov 20
- Default keyboard shortcuts can be unassigned.Updated Nov 17
- Keybinding settings are grouped by area and have a page toolbar.Updated Oct 15
2 earlier changes
- Keybindings can be found through Settings search.Updated Sep 17
- Keybinding settings are now shown as settings rows.Updated Aug 29
Related settings
Unofficial notes. Not affiliated with Theo or t3.gg.