Ⅰ. 插件描述
A Vim plugin for EvtGen decay filesⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'srstevenson/vim-decfile'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'srstevenson/vim-decfile'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'srstevenson/vim-decfile'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/srstevenson/vim-decfile
Ⅳ. 文档说明
# vim-evtgen
[vim-evtgen] is a plugin for [EvtGen] decay files.
<p align="center">

</p>
Features
- Syntax highlighting
Decayblock [folding]- Automatic closing of
Decayblocks, adding the matchingEnddecay(requires
[vim-endwise]) - Jump between matching
DecayandEnddecaypairs with%
Installation
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][packages] 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-evtgenFor Neovim:
git clone https://github.com/srstevenson/vim-evtgen \
${XDG_DATA_HOME:-$HOME/.local/share}/nvim/site/pack/plugins/start/vim-evtgenConfiguration
To disable folding of Decay blocks (enabled by default), add the following to
your vimrc:
let g:evtgen_disable_folding = 1Copyright
Copyright © 2014-2019 [Scott Stevenson].
vim-evtgen is distributed under the terms of the [ISC licence].