vim-batsh


Ⅰ. 插件描述

This project adds [Batsh](http://batsh.org) support to vim. It covers syntax, indenting, and more.

Ⅱ. 基本信息

创建日期:  2014-10-30
使用用户:  1
Github星:  15
插件作者:  Vury Leo

Ⅲ. 安装方法

使用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

Requirements

  • vim 7.4 or later

Install using Vundle

  1. [Install Vundle] into ~/.vim/bundle/.
  1. Configure your vimrc for Vundle. Here's a bare-minimum vimrc that enables all
    the features of vim-Batsh:
set nocompatible
filetype off

set rtp+=~/.vim/bundle/vundle/
call vundle#rc()

Bundle 'vuryleo/vim-Batsh'

syntax enable
filetype plugin indent on

If 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.

  1. 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

添加新评论