Ⅰ. 插件描述
[deprecated] Vim plugin for HandlebarsⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'nono/handlebars'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'nono/handlebars'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'nono/handlebars'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/nono/vim-handlebars
Ⅳ. 文档说明
Vim plugin for Handlebars
Deprecation
Important: this plugin is deprecated, you should use mustache/vim-mode instead!
About
This plugin is here to help you editing
Handlebars files.
Install
Install for pathogen
cd ~/.vim/
git submodule add git://github.com/nono/vim-handlebars.git bundle/handlebars
vim bundle/handlebars/example.handlebars
Manually Install
git clone git://github.com/nono/vim-handlebars.git
cd vim-handlebars
cp -R ftdetect/* ~/.vim/ftdetect/
cp -R ftplugin/* ~/.vim/ftplugin/
cp -R syntax/* ~/.vim/syntax/
vim example.handlebars
Credits
Handlebars is the work of Yehuda Katz.
This plugin was strongly inspired by mustache.vim.
♡2011 by Bruno Michel. Copying is an act of love. Please copy and share.