-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Feature Request: Auto-Detection of Terminal-Based Web Apps (e.g., xterm.js) for Default Vimium Disablement #4631
Comments
I'm not entirely sure what your issue is with Vimium on those sites. Could you explain what the problem is? I just went to webvm.io and it's just a The only thing I can think of right now is, when you hit |
Thank you for looking into issue, and "escape" key, which is very common when using vim, however does not exactly work in web browser xterm.js , however still I was pressing it with muscle memory and then Vimium bindings were triggered. Therefore issue maybe closed! Before that, let me share canvas and webgl renderings to test if you like. Now, understanding what triggered it, I see that indeed, Thank you for hint about textarea, as I am more backend programmer so picking up which pieces matter frontend wise. Would it also be safe in case of webgl and canvas renderings? As you looked into my issue, I spin up two instances for you , if you like to test with expert frontend eye if assumptions hold also for canvas and webgl2 renderings: Below I spin up for few days vm with some examples using canvas: webgl2: ( for curious ones, I placed cargo-example-select => https://gist.github.com/gwpl/f78af717785959ac81ec1fc21fb6056f ) Once issue is closed I assume you finished testing / playing with it, and I will delete VM. Thank you! |
Hey, I'm sorry - I lost track of this issue for some days and then I had a medical emergency situation... (All good now though, so don't worry.) I'm not a super frontend expert either, but I've taken a brief look at your two VMs and it seems like under the hood there's always the You can check it yourself as well by checking in the browser console with Since your problem overall seems to be very specific, I can't really think of any good way to solve this issue... The only idea that comes to my mind is to offer an option to disable What do you think about this solution? Do you think it might work for you? I'm not sure if this would make it into the mainline Vimium release, but at the very least it could be implemented in a fork for the time being. |
I just found out that Vimium C seems to support unmapping the I've tested with this custom mapping: (Edit: just to avoid confusion - this is currently Vimium C exclusive functionality and does not work in normal Vimium.)
It might be possible that this has some unwanted side-effects,... I have tested some use cases in handling Vimium C that involves Hope this helps! |
Feature Request: Auto-Detection of Terminal-Based Web Apps (e.g., xterm.js) for Default Vimium Disablement
Problem:
Vimium currently relies on URL matching to determine where it should be enabled or disabled. This approach is insufficient for dynamic environments where:
Request:
Implement a mechanism for Vimium to detect terminal-based web apps dynamically by:
Why It Matters:
Potential Indicators for Detection:
.xterm
,.xterm-viewport
,.xterm-screen
.Terminal
from xterm.js.Impact:
This change would significantly improve usability for users working with web-based terminals, especially in development, IoT (e.g., Raspberry Pi), and remote administration contexts.
Related Projects Using xterm.js:
Thank you for considering this enhancement!
The text was updated successfully, but these errors were encountered: