1995eaton / chromium-vim

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

Search completion enhancements #64

Open vkoutav opened 10 years ago

vkoutav commented 10 years ago

Feature request: multiple engines completed at the same time.

An option to define a set of completion engines that uses simultaneous completion from multiple sources. I would say to allow the user to define as many sets as they like Something like this:

let completionsource work = ["wikipedia", "google", "duckduckgo"] let completionsource movies = ["imdb", "wikipedia", "google"]

That way, results could pop up from several sources by typing ":tabopen work", shown in a similar way that "top sites", "history" and "bookmark" items are shown now (i.e., the user will see "wikipedia", "google" etc suggestions, depending on what is in the completion source set).

Maybe having the possibility to define a default completion set would also be convenient for many users. In this case completions could start coming in without specifying a completion source name. The way this could work with the current named sources: when the user types ":tabopen w" it will start to autocomplete the search "w" using the default set and at the same time present the option of completion sources starting with "w" (as well as the bookmarks, top sites, etc starting with w).

Awesome plugin, BTW!

vlad-terin commented 8 years ago

@vkoutav +1