Created: 2015-07-09 22:35
Updated: 2019-01-09 20:13
License: isc

vim-evtgen Build Status

vim-evtgen is a plugin for EvtGen decay files.


  • Syntax highlighting
  • Decay block folding
  • Automatic closing of Decay blocks, adding the matching Enddecay (requires vim-endwise)
  • Jump between matching Decay and Enddecay pairs with %


If you already use a plugin manager such as vim-plug, Dein.vim, or Vundle, install vim-evtgen and its dependency vim-endwise in the normal manner. Otherwise, the recommended plugin manager is minpac. Add the following to your vimrc ($HOME/.vim/vimrc for Vim and ${XDG_CONFIG_HOME:-$HOME/.config}/nvim/init.vim for Neovim), restart Vim, and run :call minpac#update():

call minpac#add('tpope/vim-endwise')
call minpac#add('srstevenson/vim-evtgen')

If you have Vim 7.4.1840 or newer, you can use the native package support instead of a plugin manager by cloning vim-evtgen into a directory under packpath. For Vim:

git clone \

For Neovim:

git clone \


To disable folding of Decay blocks (enabled by default), add the following to your vimrc:

let g:evtgen_disable_folding = 1


Copyright © 2014-2019 Scott Stevenson.

vim-evtgen is distributed under the terms of the ISC licence.

Cookies help us deliver our services. By using our services, you agree to our use of cookies Learn more