Ⅰ. 插件描述
Erlang snippets for snipmateⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'rprimus/vim-snipmate-erlang'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'rprimus/vim-snipmate-erlang'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'rprimus/vim-snipmate-erlang'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/rprimus/vim-snipmate-erlang
Ⅳ. 文档说明
# Erlang Snippets for VIM.
Here are snippets that I use for Erlang.
The file templates were originally generated via emacs and modified.
ToDo
automate generation of file templates whenever there is a new Erlang
release.- investigate whether snippmate can recursively include other snippets.
Tue Apr 10 09:07:50 BST 2012 -primus