When focusing google search input field with 'gi', often times it focuses and selects all the text (when normally it should place cursor at the end) or doesn't focus at all. Also, when I press escape while in the input field while search suggestions active, it removes focus and goes to normal mode but the search suggestions field stays visible.
Here's a GIF. You can see it selecting all the text and suggestions field staying visible.
Unfortunately, I couldn't replicate the most problematic behavior when it doesn't focus at all.
regarding suggestions staying visible: google search probably adds an
event listener for , which they use to trigger closing of
suggestions. the problem is that vimfx swallows the keyboard event
for its own use. i don't think we can easily fix that.
When focusing google search input field with 'gi', often times it focuses and selects all the text (when normally it should place cursor at the end) or doesn't focus at all. Also, when I press escape while in the input field while search suggestions active, it removes focus and goes to normal mode but the search suggestions field stays visible.
Here's a GIF. You can see it selecting all the text and suggestions field staying visible.
Unfortunately, I couldn't replicate the most problematic behavior when it doesn't focus at all.