vim-evtgen is a plugin for EvtGen decay files.
- Syntax highlighting
-
Decay
block folding - Automatic closing of
Decay
blocks, adding the matchingEnddecay
(requires vim-endwise) - Jump between matching
Decay
andEnddecay
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 https://github.com/srstevenson/vim-evtgen \
~/.vim/pack/plugins/start/vim-evtgen
For Neovim:
git clone https://github.com/srstevenson/vim-evtgen \
${XDG_DATA_HOME:-$HOME/.local/share}/nvim/site/pack/plugins/start/vim-evtgen
To disable folding of Decay
blocks (enabled by default), add the following to
your vimrc:
let g:evtgen_disable_folding = 1
Copyright © Scott Stevenson.
vim-evtgen is distributed under the terms of the ISC licence.