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

[question] [feature request] How to "unblock"/passthrough certain keys to other extensions? #26

Open
awillats opened this issue Oct 17, 2022 · 1 comment

Comments

@awillats
Copy link

Thanks for the great extension,
I love using vim motions/keybings for workflowy, but I also want to use them elsewhere for browser navigation.
As such, I also use vimium / vimium-c to navigate the browser.

For the most part, I'm okay with just blacklisting workflowy URLs (as suggested in the README), but the real sticking point is I can't use my vim keybinds (e.g. J, K) to switch tabs out of a workflowy.com tab, which interrupts my flow and forces me to use my mouse or one of the clunkier non-vim shortcuts for tab navigation.

Is there a way to selectively "unblock" / allow to pass-through a subset of keys in normal mode? (this would allow me to use keys unused by vimflowy but usable by vimium for navigation).
If needed, I'd be willing to just patch together changes to keybindings.js or transparentKeybindings.js on my own local fork as a workaround - I'm just not sure what I would need to do. Would setting "K" as a keymap which does nothing in transparentKeybindings be sufficient to let it pass through for instance?

as a more flexible future solution which would likely require a lot more work, it would be great to be able to specify keys that get passed through in the options tab - ( this is something vimium has implemented for example: mode_key_handler.js )

@Wojnach
Copy link
Owner

Wojnach commented Oct 17, 2022 via email

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

No branches or pull requests

2 participants