Ⅰ. 插件描述
Tags manipulation scriptⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/tagmaster'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/tagmaster'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/tagmaster'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/tagmaster
Ⅳ. 文档说明
Tagmaster is a plugin aimed for easy operating with tags and tag files. It allows generating tags for current project or file, deleting tags for given file, updating tags, etc.
Tags file name can be either specified explicitly, or deduced. Any tag file (found with tagfiles() function) is checked for if it can belong to current project (placed at the same directory level, or several levels up).
Before updating tags for given file, they all are deleted first to avoid duplicate tags.
When generating tags for project, current filetype is considered and only files of this filetype are scanned. This is done to avoid collecting garbage from auxiliary files like config scripts, Makefiles, etc.
NOTE: This plugin supports only exuberant ctags version. You should have it in your PATH environment.