Ⅰ. 插件描述
tags file generatorⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/vtags'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/vtags'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/vtags'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/vtags
Ⅳ. 文档说明
VTags is a tags file generator, written entirely in Vim.
It currently supports only the PHP and Vim languages, but adding a new
language should be trivial.
The speed is not one of the best around yet, but I'm working on this.
This one being the first release, it's quite in alpha stage. The
language definitions are experimental, to verify that the parsing engine
- The parser only works on full lines, so if a line contains more,
say, function definitions, only the first one will be taken. I will be
working on supporting multiple definitions in one line, but after
I get the speed fixed :)
It's the first unstable slow alpha testing thing. Be kind with me ;)
Any feedback would be very much appreciated.
Requires: vimscript #338 (vtags_def)