Ⅰ. 插件描述
plugin for antⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/ant-menu-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/ant-menu-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/ant-menu-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/ant_menu.vim
Ⅳ. 文档说明
A simple script that provides a pull-down menu and keyboard shortcuts for calling ant, a java build
utility. By default, ant.vim assumes that the build.xml file is in the current directory. The user can
set the build file in another directory by selecting the "Set build file" option or by using ",s" in
command mode.
Global options can be set in your .vimrc file. For example:
let g:buildFile = 'foo.xml'
let g:antOption = '-debug'
let g:logFile = 'foo.log'
If you are on a windows box and you cannot see compilation errors in your quickfix window,
try setting the shellpipe to "2>" in your _vimrc.