o or O option not working on Perplexity
Steps to reproduce the behavior:
- go to https://www.perplexity.ai/
- press Esc for normal mode
- press o --or-- O and type the query there
it will not let you type the query instead when you press o or O it will go into insert mode while Vomnibar is still open Vomnibar is fade out ( or transparent)
same behaviour just like you open Vomnibar and click somewhere else while Vomnibar is still open.. the Vomnibar appearance will fade out ( or transparent)
-
browser : Thorium 124.0.6367.218 stable latest
-
Vimium C : Version 2.11.1 latest
-
OS name and version: i use arch btw.. that's why I'm still single
Well it's not a bug but a security feature of Vimium C.
The website locks keyboard focus to its "Ask anything..." input box using some naive JavaScript code, which means everytime Vomnibar want to focus the webpage grabs back focus again.
Vomnibar gets partially transparent, so that users may learn it loses focus "at once". In the below snapshot, there's a green text caret inside the red ellipse:
I use the word security feature because in such a situation Vimium C can not make Vomnibar grab back focus again and again - otherwise a web page may run into a dead loop and then eat much CPU time and laptop power.
Is there a way to have the "o" or any other key show only the open tabs and bookmark tabs, without history?
With the top results to be the open tabs?
I am trying to use vimium-c instead of the Chrome ctrl-shift-A, but I can't because there are too many results because of the history.
Even better: Can we have some options to customze the "o" view? (what to show/how/etc.) And these options be persistent?
map o Vomnibar.activate mode="omni" engines="search,tab,bookmark"- No Vimium C doesn't ensure this, because suggestions are sorted by their scores computed using your query words and their last-visit-time
- but you may type
:t <some-query>to limit search range intotabstemporarily
- You may style Vomnibar dialog by writing CSS code
- see https://github.com/gdh1995/vimium-c/wiki/Style-the-UI-of-Vimium-C-using-Custom-CSS
- some examples:
- https://github.com/gdh1995/vimium-c/issues/1170#issuecomment-2238395941
Yes Vimium C supports this, but I recommend a simpler (at least for me) way:
- you may use
searchInAnotherto switch among different search engines - Vimium C will auto find you query words by analysing tab URLs, and then build a new URL using a given keyword
For example:
run <v-sia> searchInAnother##keyword=$s mask
## `GG` will auto find query words and then search in the `g` keyword
run GG sia g
## redo search in the `d` keyword
run Gd sia d
If you do want to open multiple URLs in one action, then you may add such a search engine:
multi: vimium://urls/gh|g|yt:$S
And then multi foo bar + <Enter> on Vomnibar will search in gh, g and yt custom search engines.
- You may add
# focusOrLaunch is an alias of `openUrl reuse="reuse"`
map <a-g>c focusOrLaunch url="https://github.com/gdh1995/vimium-c/"
- When Vomnibar is in "omni" mode, it shows suggestions from history items, bookmarks and opened tabs, so you may press ArrowDown to select a tab suggestion:
Or you may try the T mapping (Shift+T, Vomnibar.activateTabs) to search in only tabs.