Ⅰ. 插件描述
This is a plugin to allow you to easily add imports within a Grails projectⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'sjurgemeyer/vim-grails-import'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'sjurgemeyer/vim-grails-import'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'sjurgemeyer/vim-grails-import'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/sjurgemeyer/vim-grails-import
Ⅳ. 文档说明
This is a plugin for vim that allows you to easily add imports within a groovy, grails or java project.
This project has been moved to http://github.com/sjurgemeyer/vimport
Installation
Vundle (https://github.com/VundleVim/Vundle.vim)
Include the following line in your .vimrc
Plugin 'sjurgemeyer/vim-grails-import'
Then, run
:PluginInstall
Pathogen (https://github.com/tpope/vim-pathogen)
Clone the plugin's git repository
git clone git://github.com/sjurgemeyer/vim-grails-import.vim.git ~/.vim/bundle/vim-grails-import
If your vim configuration is under git version control, you could also set up
the repository as a submodule, which would allow you to update more easily.
The command is (provided you're in ~/.vim):
git submodule add git://github.com/sjurgemeyer/grails-import.vim.git bundle/grails-import
You can also just copy the files the old fashioned way, but I don't condone that type of behavior
Usage
Please see /doc/grailsImport.txt for additional details on usage and configuration.