Skip to content

Chained Keybinds - #10015

Merged
mitchellh merged 17 commits into
mainfrom
key-chain
Dec 23, 2025
Merged

mitchellh merged 17 commits into
mainfrom
key-chain

Conversation

@mitchellh

@mitchellh mitchellh commented Dec 22, 2025 •

Copy link
Copy Markdown
Contributor

Fixes #9961

This implements chained keybinds as described in #9961.

keybind = ctrl+shift+f=toggle_fullscreen
keybind = chain=toggle_window_decorations

These work with tables and sequences. For tables, the chain is unique per table, so the following works:

keybind = foo/ctrl+shift+f=toggle_fullscreen
keybind = foo/chain=toggle_window_decorations

For sequences, it applies to the most recent sequence:

keybind = ctrl+b>f=toggle_fullscreen
keybind = chain=toggle_window_decorations

TODO

Some limitations to resolve in future PRs (make an issue) or commits:

AI disclosure: AI helped write tests, but everything else was organic. AI did surprisingly bad at trying to implement this feature, so I threw all of its work away! 😄

@mitchellh
mitchellh requested review from a team as code owners December 22, 2025 21:40
@mitchellh mitchellh added this to the 1.3.0 milestone Dec 22, 2025
@mitchellh
mitchellh merged commit 7ad1e6e into main Dec 23, 2025
108 checks passed
@mitchellh
mitchellh deleted the key-chain branch December 23, 2025 04:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Chained Keybinds

2 participants