[Vimperator] vimperator+searchengines
Wang Ning
daning106 at gmail.com
Tue Apr 22 04:34:36 PDT 2008
Hi Dmitry,
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
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"
On Tue, Apr 22, 2008 at 3:08 PM, Dmitry Teslenko <dteslenko at gmail.com> wrote:
> Hello!
> Where do vimerator get aliases for search engine plugins for command line use?
> Is it <Alias> tag in searchplugin *.xml file or not?
> _______________________________________________
> Vimperator mailing list
> Vimperator at mozdev.org
> https://www.mozdev.org/mailman/listinfo/vimperator
>
--
Sincerely,
Wang Ning
More information about the Vimperator
mailing list