vim-wdl


Ⅰ. 插件描述

Vim syntax highlighting for WDL

Ⅱ. 基本信息

创建日期:  2015-07-29
使用用户:  8
Github星:  8
插件作者:  Broad Institute

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'broadinstitute/vim-wdl'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'broadinstitute/vim-wdl'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'broadinstitute/vim-wdl'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/broadinstitute/vim-wdl

Ⅳ. 文档说明

# vim-wdl

Syntax highlighting for WDL files

Installing with Pathogen

If you already have Pathogen working then skip Step 1 and go to
Step 2.

Step 1: Install pathogen.vim

Pathogen is one of the most widely used ways to install plugins

mkdir -p ~/.vim/autoload ~/.vim/bundle
curl -LSso ~/.vim/autoload/pathogen.vim https://raw.githubusercontent.com/tpope/vim-pathogen/master/autoload/pathogen.vim

Next you need to add this to your ~/.vimrc:

execute pathogen#infect()

Step 2: Install as a Pathogen bundle

You now have pathogen installed and can put the WDL syntax definitions into ~/.vim/bundle like this:

cd ~/.vim/bundle
git clone https://github.com/broadinstitute/vim-wdl.git

Quit Vim and reload it. Open up a file that ends in .wdl

添加新评论