Ⅰ. 插件描述
Syntax highlighting for Nexus file formatⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/nexus-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/nexus-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/nexus-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/nexus.vim
Ⅳ. 文档说明
This is a syntax highlighting for Nexus, a file format used by many programs in evolutionary biology, like GDA, Paup*, Mesquite, ModelTest, MrBayes and MacClade. A formal description can be found at
Maddison, D.R., D.L. Swofford, and W.P. Maddison. 1997. NEXUS: An extensible file format for systematic information. Systematic Biology 46: 590-621
while some examples and a short description can be found at
http://workshop.molecularevolution.org/resources/fileformats/
The syntax also takes in consideration some reserved words (private block) used for MrBayes. For the most curious, a screenshot can be seen at