Ⅰ. 插件描述
This project adds [Batsh](http://batsh.org) support to vim. It covers syntax, indenting, and more.Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'vuryleo/vim-batsh'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'vuryleo/vim-batsh'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'vuryleo/vim-batsh'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vuryleo/vim-batsh
Ⅳ. 文档说明
This project adds [Batsh] support to vim. It covers syntax, indenting, and more.
Table of Contents
Installation
Requirements
- vim 7.4 or later
Install using Vundle
- [Install Vundle] into
~/.vim/bundle/.
- Configure your vimrc for Vundle. Here's a bare-minimum vimrc that enables all
the features ofvim-Batsh:
set nocompatible
filetype off
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
Bundle 'vuryleo/vim-Batsh'
syntax enable
filetype plugin indent onIf you're adding Vundle to a built-up vimrc, just make sure all these calls
are in there and that they occur in this order.
- Open vim and run
:BundleInstall.
To update, open vim and run :BundleInstall! (notice the bang!)
Thanks
Thanks to vim-SugarCpp and vim-coffee-script.
Actually only minor modification is done to make it work for Batsh