-
Notifications
You must be signed in to change notification settings - Fork 624
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow multi-key keybinds #1420
Comments
That sounds similar to Wezterm's |
Point of reference: Kitty uses > to denote a sequence. Eg. ctrl+b>c is ctrl-b followed by the letter c. |
I approve of the |
As discussed on discord, we don't have to have a timeout for the leader keys, which makes this significantly easier. While @mitchellh has experience that vim does a timeout, none of tmux, screen, or kitty do - they seem to wait forever once the leader is pressed to see if it completes a keybind. A keybind can be built to emit the leader, like: A max sequence length (perhaps four, to keep emacs people happy?) should be put into a const in |
This issue is the only reason I still use tmux inside of Ghostty on my daily driver. Would love to have it! :) |
From Discord, more details:
|
I've started working on this, and I've realized one downside of the already approved For now I'm going to carry on with |
Would a comma work well? Something like |
PR is up #2121. The sequenced keybind PR somewhat dramatically overhauls how we do binding handling so even if you don't use sequences, I'd love if some folks who are comfortable building from source can bash on that PR a bit and see if they see anything wonky. |
Currently all keybinds must be one single 'chord'.
I'd like support for a key sequence - that is, multiple keys pressed in a row.
This would allow me to emulate tmux/screen's keybindings
The text was updated successfully, but these errors were encountered: