Skip to content
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

Keybinds for extensions #22

Open
michaelbrusegard opened this issue Sep 13, 2024 · 2 comments
Open

Keybinds for extensions #22

michaelbrusegard opened this issue Sep 13, 2024 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed invalid This doesn't seem right

Comments

@michaelbrusegard
Copy link
Owner

It would be nice to have specific keybinds for extensions or disabled them for some. I have some thoughts already, but this may be a limitation of WezTerm as it is

@michaelbrusegard michaelbrusegard added enhancement New feature or request help wanted Extra attention is needed labels Sep 13, 2024
@michaelbrusegard
Copy link
Owner Author

A thought is to have the option to specify a key table that gets activated when the extension is active. That way I can avoid having to pass the config object to the plugin directly. The hard part with this is that I would have to make it work with the mode component to either create a new mode that is modified by the extension or just ignore it and overwrite the normal_mode that is currently being done. Maybe similar to how the plugin expects the key_tables that represnet a mode to start with mode_ an extension keytable can be expected to start with ext_. Still having some thoughts about this

@michaelbrusegard
Copy link
Owner Author

Honestly my use for this would be to have some empty key tables when I use the fuzzy finders for resurrect, workspace switcher or domains so the normal keybinds like switching tabs are disabled. Since I dont want to be able to switch away from the fuzzy picker when it is open since that can be confusing with the tabline being altered

@michaelbrusegard michaelbrusegard added the invalid This doesn't seem right label Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

1 participant