tui: configurable key bindings system #19
Labels
No labels
area:agents
area:ai
area:config
area:dashboard
area:design
area:design-review
area:devtools
area:entities
area:gallery
area:generate
area:image
area:infra
area:meta
area:model-browser
area:navigation
area:presets
area:security
area:sessions
area:settings
area:sharing
area:test
area:ux
area:webhook
area:workdir
type:bug
type:chore
type:meta
type:user-story
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
charles/loom#19
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
User story
As a user, I want to rebind any key to any action, so that I can match my personal muscle memory (vim, emacs, or defaults).
Acceptance criteria
Key combo model
KeyComboparses strings likeCtrl+Shift+K,Esc,?,g g(chord) round-trippablyKeyMapmapsKeyCombo → ActionId, scoped by optionalScreeng g,d d, etc.Defaults
/,f,S, …)Overrides
[tui.keybinds]section intui.tomlloads overrides; unknown action ids produce a warning and are ignoredKeyMapSettings integration
reset_to_defaults()used by Settings → Key Bindings(Action, current_binding)for rendering the help overlay and the settings tableTests
KeyComboround-trip test for representative combosg gonly fire on the second key within a 1 s windowOut of scope
References
[tui.keybinds]