Ⅰ. 插件描述
unite.vim's source to show tag information by ctags.Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'voi/unite-ctags'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'voi/unite-ctags'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'voi/unite-ctags'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/voi/unite-ctags
Ⅳ. 文档说明
unite-ctags
unite-ctags is a unite.vim's source to
show current buffer's tag information by ctags.
Usage
open by unite.vim
open
:Unite ctags
global various
- g:ctags_util#ctags_command (default: 'ctags')
a path string of ctags command.
g:ctags_util#ctags_user_kinds (default: {})
dictionary of kinds of ctags. a key is a language name, a value is a kinds.
language names and kinds are referenced by 'ctags --list-kinds=all'example:
let g:ctags_util#ctags_user_kinds = { \ 'c++': 'cdefgnstu' \ }g:ctags_util#ctags_user_language (default: {})
directory of filetype and supported language of ctags.
a key is filetype, a value is language name of ctags.example:
let g:ctags_util#ctags_user_language = { \ 'javascript': 'js' \ }