Ⅰ. 插件描述
vim-tagbar extension for markdownⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'lvht/tagbar-markdown'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'lvht/tagbar-markdown'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'lvht/tagbar-markdown'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/lvht/tagbar-markdown
Ⅳ. 文档说明
# tagbar markdown extension
Intro
tagbar-markdown is a tagbar extension for markdown.
Screenshot

Install
- [vim-plug]
Plug 'majutsushi/tagbar'
Plug 'lvht/tagbar-markdown'- Use [dein.vim] to lazy load plugin, and check the requirements.
call dein#add('', {'on_cmd' : 'TagbarToggle'})
call dein#add('', {'on_ft' : 'markdown', 'if' : executable('php')})Please make sure php is in your $PATH and the bin/mdctags has execute permission.
execute ':MDAgenda' to insert content agenda in the current line.
Enjoy :)