Question/discussion: Key tables should be allowed to target the whole window instead of just the surface they were activated on #10107
Unanswered
iniw
asked this question in
Feature Requests, Ideas
Replies: 1 comment 2 replies
-
|
I think what you're asking was a limitation that was explicitly noted in the chaining issue, so it's worth bringing back up here since it also affects key tables: all actions impact the originating surface. It's not exactly the same, but I think if you step back, it's a very closely related issue such that we should at least be thinking about both when resolving this. I don't have a solution, just adding some more context. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Issue Description
My first idea with key tables was to make a hydra-mode type keybind scheme:
The idea is that pressing
super+sgets you in "split mode" and you can control/navigate splits freely - then exit it by pressingescape. Here's a similar one for tabs:These are wonderful and would work great, if it weren't for the fact that the key tables are applied to the surface, not to the window. So, for example, when I press
super+t -> n, to create a new tab, I actually can't presshto go the previous tab, because the key table is only active on the surface it was created on.This also makes the split navigation completely unusable. The idea is to press
super+sand useh/j/k/lto move between splits, but that doesn't work because only the original split keeps the key table.Is this a design decision or just an oversight? IMO making the active key table a property of the whole window instead of the surface it was created on would make more sense.
Another idea is to give
activate_key_tablean extra (optional) parameter to select the "level" it should be applied to. For example:Expected Behavior
I would've expected key tables to apply to the whole window, or at least be configurable to do so, which would greatly expand it's use cases.
Actual Behavior
Key tables are only active in the surface they were created on.
Reproduction Steps
~
Ghostty Logs
No response
Ghostty Version
OS Version Information
MacOS 26.2
(Linux only) Display Server
None
(Linux only) Desktop Environment/Window Manager
No response
Minimal Ghostty Configuration
Additional Relevant Configuration
No response
I acknowledge that:
```) on separate lines.Beta Was this translation helpful? Give feedback.
All reactions