Ⅰ. 插件描述
AsyncCommand allows you to execute shell commands without waiting for them to complete. When the application terminates, its output can be loaded into a vim buffer.Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'idbrii/asynccommand'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'idbrii/asynccommand'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'idbrii/asynccommand'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/idbrii/asynccommand
Ⅳ. 文档说明
AsyncCommand
AsyncCommand allows you to execute shell commands without waiting for them
to complete. When the application terminates, its output can be loaded into
a vim buffer. AsyncCommand is written to be compatible with Windows and
Linux (tested on Win7 and Ubuntu 11.10).
Currently three types of commands are supported:
AsyncGrep
grep for files and load results in quickfix AsyncShell
run any program and load results in a split AsyncCscopeFindSymbol, AsyncCscopeFindCalls, AsyncCscopeFindX
cscope commandsAsyncMake
run your makeprg with input arguments and load the results in quickfix
For more information, see :help asynccommand