1995eaton / chromium-vim

Vim bindings for Google Chrome.
https://chrome.google.com/webstore/detail/cvim/ihlenndgcmojhcghmfjfneahoeklbjjh
MIT License
2.25k stars 326 forks source link

can not disable 'amazon' as completionengine #740

Open kecmen opened 3 years ago

kecmen commented 3 years ago

Hi,

thanks for this addon. I would like to disable amazon as completionengine, so that when i search for something like 'amazon music random song from artist' it wont open amazon page with the rest of the query as search string, but rather search for the whole query in google. This is what I have in my ~/.cvimrc: let completionengines = ['google', 'imdb'] I also tried to set it directly in the browser (pressed : and the typed let completionengines = ['google', 'imdb']) but still searching for anything that starts with 'amazon' ends up opening amazon page Do I need to set something else too? Is this a bug?

Thanks

b-coimbra commented 2 years ago

@kecmen It was indeed a bug, I fixed it on vimch@36b7971. Now it should call Google (or whatever the default search engine is) if the search term is not set in the completionengines.

kecmen commented 2 years ago

thanks