Ⅰ. 插件描述
vim script to manage a group of files as a project.Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'okcompute/vim-ctags'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'okcompute/vim-ctags'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'okcompute/vim-ctags'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/okcompute/vim-ctags
Ⅳ. 文档说明
NOTE: This plugin is obsolete. I personaly don't use it anymore. I have found a better way using git hooks to generate tags. I'm keeping the repository for the history.
Automatic generation of tags file (Exhuberant Ctags)
Description:
This script look for .ctags file in the current
directory hiearchy up to the root and build the tags file
when one is found. This process is executed only for the
first file opened in the whole directory tree.
Notes:
- Combine this plugin and the AutoTags plugin and you won't
- to think about generating tags anymore.
- For further details on the .ctags file, see Exhuberant Ctags
documentations.
Requirements:
Exhuberant Ctags must be installed on your system.