Ⅰ. 插件描述
google for the word under the cursor to a browser because 2013Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'papanikge/voogle'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'papanikge/voogle'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'papanikge/voogle'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/papanikge/vim-voogle
Ⅳ. 文档说明
voogle.vim
A simple small plugin to help you google from vim but not display
the results in a buffer. (it's 2013)
Install
I recommend using Tim Pope's pathogen and just install it in the bundle/ dir
You can also just place it in the plugin/ directory.
Usage
The shortcut is gs
You can google for the word under the cursor in normal mode,
or you can search for selected text in visual mode.
Voogle.vim tries to find an available browser from:
- Chrome/Chromium
- Firefox
- links
Options
Set the g:search_engine variable to your desire for custom searches
if you don't like google
You can disable the plugin by let g:loaded_voogle=0.
License
Distributed under the same terms as Vim itself. See :help license.