vimium icon indicating copy to clipboard operation
vimium copied to clipboard

Feature Request: Use "@gemini"

Open shankarsivarajan opened this issue 6 months ago • 3 comments

On Chrome, I can type something like "@gemini Do Something" in the url bar to perform a Gemini query, and I'd like to be able to do this using a vimium shortcut. I expected to be able to achieve this by creating a custom search engine, but this raises an error, "This search engine doens't have a valid URL:"

shankarsivarajan avatar Jun 14 '25 20:06 shankarsivarajan

came here looking for the exact same thing

vinnymeller avatar Jul 27 '25 18:07 vinnymeller

vimium does this through search query strings. Gemini doesn't seem to support this, but apparently Google's "AI Mode" does. You would have to enable this somewhere in you account, and it's not available in every country (I can't access it). If you have access to Google's "AI Mode" you should be able to use it from the vomnibar by adding the following to Custom search engines: googleai https://www.google.com/search?udm=50&q=%s GoogleAI then press o, type googleai (or whatever you set as the first word int the line above), spacebar, and enter your query.

https://stackoverflow.com/questions/78460643/is-there-a-way-to-send-the-query-to-gemini-bard-through-url https://superuser.com/questions/1826079/can-i-submit-query-to-gemini-bard-or-other-llm-by-using-an-url-shortcut-and-sear

seki-mei avatar Aug 26 '25 15:08 seki-mei

If you are on firefox you may find this extension useful - https://addons.mozilla.org/en-US/firefox/addon/search-with-gemini/ (disclaimer: I'm the author). After installing the extension, just add https://gemini.google.com/?prompt=%s as a custom search engine in Vimium config, the extension then handles pasting and submitting the query on Gemini page.

alexey-kudryavtsev avatar Oct 30 '25 11:10 alexey-kudryavtsev