Ⅰ. 插件描述
Vim plugin with a set of helpers to interact with artisan and a laravel 5x project.Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'zzantares/vim-laravel'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'zzantares/vim-laravel'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'zzantares/vim-laravel'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/zzantares/vim-laravel
Ⅳ. 文档说明
# vim-laravel
This Vim plugin provides a set of helpers to use the artisan command within
vim to create new resources or to execute any artisan command, it also provides
helpers to open the most common resources such as commands, controllers, models,
etc.
Installation
Using vundle you need to add something like this to your .vimrc
Plugin 'ZzAntares/vim-laravel'Then save your changes, source the file and install:
:w
:source %
:PluginInstallThats it, now when your vim's pwd is set to a laravel 5 project (where the
artisan file is) you can use the plugin's functions.
Usage
:help vim-laravel