Ⅰ. 插件描述
Vim plugin for managing ctags filesⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'grassdog/tagman-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'grassdog/tagman-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'grassdog/tagman-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/grassdog/tagman.vim
Ⅳ. 文档说明
# tagman.vim
Yet another Vim plugin for automatically generating ctags files for your projects when files are saved and setting tags accordingly.
By default vendor or library code such as gem files and node modules are
ignored when generating project tag files.
Tagman also ignores all files listed in source control ignore files such as.gitignore.
Library tag files can be generated separately and enabled or disabled as
desired.
All ctags operations are executed in the background so as not to hold up the
UI.
Tag files are automatically kept in source control directories at the top of
projects.
Tagman will only build tag files if a tag file already exists. You can enable
tags for a project by running :BuildTags!.
Tagman borrows heavily from https://github.com/szw/vim-tags.
Run :help tagman for more information and configuration options.