[Vimperator] vimperator+searchengines

Dmitry Teslenko dteslenko at gmail.com
Tue Apr 22 05:14:11 PDT 2008


Plenty of information! Thanks!

On Tue, Apr 22, 2008 at 3:34 PM, Wang Ning <daning106 at gmail.com> wrote:
>  vimperator uses the search engine list of firefox.
>
>  You can edit the list by click search engine bar on the right top of
>  firefox, then select 'manage search engines' to add or modify the
>  search engines list.
>  For exmaple, I have these search engines:
>  Name                               Keyword
>  google                              google
>  wikipedia(english)             wikipedia
>  Amazon.com                    amazon

As far as I concerned last released FF/vimperator is 2.0.0.14/0.5 and
there's no keyword-editing.

>  Thus, If I run ":open amazon somebookname", vimperator will search the
>  somebookname using amazon.com search engine. You can change the
>  keyword of Amazon engine to "am". Then when you run ":open am
>  somebookname", the vimperator query it in amazon.com.
>
>  If vimperator finds that the string behind :open command is not match
>  the format of url and is not a file patch of the file system,
>  vimperator will try to search the string using proper search engine.

>  vimperator will detect the first word behind :open commend to match
>  the keyword of the engines list. If match, vimperator will treat the
>  rest of the command as search key words and search them by the search
>  engine. If the command's first word doesn't match firefox's engine
>  list, vimperator will use google as the default search engine to
>  search the string behind ":open"

I've been using vimperator for some time and I already know how these
keywords used. Question was: WHERE do vimperator gets search engine
aliases? Why it uses "google" for Google engine and  not something
else?


More information about the Vimperator mailing list