philc / vimium

The hacker's browser.
https://chrome.google.com/webstore/detail/vimium/dbepggeogbaibhgnhhndojpepiihcmeb
MIT License
23.54k stars 2.49k forks source link

Is there a way to activate vomnibar in insert mode? #3401

Open sherifkandeel opened 5 years ago

sherifkandeel commented 5 years ago

Is there an easy way to activate vomnibar regardless of the mode?

Alternatively it could be set as one of the chrome shortcuts for vimium

I tried setting imap, before finding out it's not yet possible. I also tried map with multiple command to passNextKey and give next key as well to open the vomnibar but that didn't work

gdh1995 commented 5 years ago

Currently not available on Vimium.

Browser extensions APIs have provide chrome.commands.*** to execute shortcuts "globally", but Vimium doesn't use it. As for Vimium's insert mode which is active when an <input> is focused, there's no logic to trigger commands.

(The following is an AD) I've written a customized version of Vimium: https://github.com/gdh1995/vimium-c . It supports global shortcuts, which are always available even in insert mode, and it allows <f1> to <f12> to be triggered when an <input> is focused (though a "global" insert mode entered by enterInsertMode doesn't allow them).

sherifkandeel commented 5 years ago

Oh wow, it looks like this will solve my problem... Thank you very much.

For the original issue, I found out that enabling this option from vimium advanced options helps a bit image