vimium icon indicating copy to clipboard operation
vimium copied to clipboard

Tab no longer opens completions for custom search engines

Open smblott-github opened this issue 1 year ago • 6 comments

Describe the bug

Assume a custom search engine (CSE).

Previously, immediately after opening the vomnibar with a CSE, <Tab> would expand the vomnibar with the most-recent searches on that search engine. This made it super easy to repeat (or edit) a recent search.

This no longer works.

To Reproduce

g: http://www.google.com/search?q=%s Google

and

map sg Vomnibar.activate keyword=g

To replicate... sg, then in (empty) vomnibar <Tab>.

Nothing happens.

The vomnibar would previously have been populated with previous Google searches.

Browser and Vimium version

117.0.5938.157 Vimium 2.0.4

smblott-github avatar Oct 20 '23 14:10 smblott-github

Hey @smblott-github, this specific functionality was dropped as part of a recent Vomnibar refactor to migrate its functionality to the manifest v3 APIs. See the description in PR #4292. The specific commit where this was removed was probably fdd02280f4a6b32786a864295855e40520e00151.

I made this change because I thought the code complexity was not worth the feature's utility.

I'll leave this issue open for a few months so you and others can chime in with thoughts.

philc avatar Oct 24 '23 03:10 philc

i noticed this too and i also don't get (history) completion for CSE anymore which i used all the times for reddit. i have a CSE like this:

r: https://old.reddit.com/r/%s Reddit

before the update, i used to hit O, r, <space>, then start typing e.g. pro, hit <tab>, <enter> and i was on https://old.reddit.com/r/programming/. now i have to type the full subreddit name each time (in this case programming).

MarcoLucidi01 avatar Oct 29 '23 13:10 MarcoLucidi01

I use this feature extensively. It stopped working in Firefox after a recent update, so I rolled back to 1.67.7 and disabled updates for now. It would be super cool to support it in v2, though v1 works fine in Firefox and hopefully won't break soon.

Dim0N22 avatar Nov 02 '23 00:11 Dim0N22

My usage matches @MarcoLucidi01 and I use it all the time. Having autocomplete allows me to have fewer "less strict" CSEs. I often use it to navigate to AWS/GitHub resources whose names can be >30 characters.

I have also downgraded to 1.67.7 to compensate.

asmundh avatar Nov 02 '23 07:11 asmundh

Your call, of course, @philc, but I really miss this.

smblott-github avatar Nov 09 '23 10:11 smblott-github

any news on this? in the meantime i'm stuck at 1.67.7 :/

MarcoLucidi01 avatar Apr 05 '24 18:04 MarcoLucidi01