mirror of
https://github.com/l0ng-ai/tty7.git
synced 2026-09-21 08:02:21 +00:00
docs(keymap): terminal shortcuts keep their chord; upgrading configs (#868)
A chord added in config wins a tie only against another app-wide action. Copy, paste, find, clear scrollback and insert newline are bound in the Terminal context, which is deeper, so they keep their chord while a terminal is focused. Also tells people upgrading that a shortcut recorded in Settings up to 26.9.2 was saved as a string. It now adds instead of replacing, and a list brings back the old meaning. Claude-Session: https://claude.ai/code/session_01JRqYZ9E153WpSHGS2AW3BM
This commit is contained in:
@@ -56,8 +56,14 @@ An action's value takes one of two shapes:
|
||||
| `""` or `[]` | **Unbind** the action |
|
||||
|
||||
Recording a shortcut on the Settings page replaces, so it writes the list
|
||||
shape. A shortcut you add that another action already uses wins: it is the one
|
||||
that runs.
|
||||
shape. A shortcut you add that another action already uses is the one that
|
||||
runs. The exception is the terminal's own shortcuts: copy, paste, find, clear
|
||||
scrollback and insert newline keep theirs while a terminal has focus.
|
||||
|
||||
Up to 26.9.2 a string replaced the default, and the Settings page wrote
|
||||
strings. So a shortcut you recorded in those versions now works *beside* the
|
||||
default it was meant to replace. To drop the default again, record the shortcut again
|
||||
or wrap it in a list: `"NewTab": ["cmd-shift-n"]`.
|
||||
|
||||
The syntax is modifiers joined by `-`, then the key. Chords are separated by a
|
||||
space.
|
||||
|
||||
Reference in New Issue
Block a user