Ⅰ. 插件描述
Unmaintained -- You should probably use TagBar.Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'int3/taglist-plus'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'int3/taglist-plus'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'int3/taglist-plus'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/int3/vim-taglist-plus
Ⅳ. 文档说明
taglist-plus.vim
This is a fork of the popular taglist.vim plugin.
Taglist-plus provides excellent Javascript support via jsctags. See here
for examples.
This plugin can also be obtained through vim.org.
Installation
Unzip the plugin files to your .vim directory.
For great Javascript support, jsctags is required as well.
jsctags can be obtained via github. It requires a recent version of
node.js -- the default one provided in Maverick Meerkat won't cut it. You can
build it from source or get it via this PPA.
If you're going the PPA route, you'll need to map nodejs to node. Here are
the commands:
sudo add-apt-repository ppa:richarvey/nodester sudo apt-get update sudo apt-get install nodejs sudo ln -s /usr/bin/nodejs /usr/local/bin/node
Usage
:TlistToggle brings up the taglist window. More commands can be found via:help taglist-commands.