sponsor Vim development Vim logo Vim Book Ad

nexus.vim : Syntax highlighting for Nexus file format

 script karma  Rating 5/4, Downloaded by 1268  Comments, bugs, improvements  Vim wiki

created by
Luis Carvalho
 
script type
syntax
 
description
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

http://carvalho.webhop.net/nexus_vim.png
 
install details
Just put nexus.vim in the syntax folder under $VIMRUNTIME, and call the syntax with :cal SetSyn("nexus").
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
nexus.vim 0.2 2004-04-17 6.0 Luis Carvalho Fixed some minor bugs, added nexus prefix as suggested by Olivier Mengue' and added nexusPublic to define public blocks.
nexus.vim 0.1 2004-04-14 6.0 Luis Carvalho Initial upload
ip used for rating: 142.132.191.50

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github