Permalink
Browse files

Add Tagbar plugin and associated keymap

  • Loading branch information...
1 parent 8a69555 commit fe39cfc0b5e18a5ca7a627b109dec0500f850a83 @dlh01 committed Nov 13, 2012
Showing with 15 additions and 0 deletions.
  1. +3 −0 .gitmodules
  2. +1 −0 vim/bundle/majutsushi-tagbar
  3. +3 −0 vim/plugin/settings/dlh01-keymaps.vim
  4. +8 −0 vim/plugin/settings/tagbar.vim
View
3 .gitmodules
@@ -67,3 +67,6 @@
[submodule "vim/bundle/nathanaelkane-vim-indent-guides"]
path = vim/bundle/nathanaelkane-vim-indent-guides
url = https://github.com/nathanaelkane/vim-indent-guides.git
+[submodule "vim/bundle/majutsushi-tagbar"]
+ path = vim/bundle/majutsushi-tagbar
+ url = https://github.com/majutsushi/tagbar
1 vim/bundle/majutsushi-tagbar
@@ -0,0 +1 @@
+Subproject commit 568ef5fd25468a58723b50cf40a48c5dcb46c802
View
3 vim/plugin/settings/dlh01-keymaps.vim
@@ -165,3 +165,6 @@ nmap sk :SplitjoinJoin<cr>
" Show or hide invisibles
nmap <leader>i :set list!<cr>
+
+" Toggle Tagbar
+nmap <F8> :TagbarOpenAutoClose<CR>
View
8 vim/plugin/settings/tagbar.vim
@@ -0,0 +1,8 @@
+let g:tagbar_type_markdown = {
+ \ 'ctagstype' : 'markdown',
+ \ 'kinds' : [
+ \ 'h:Heading_L1',
+ \ 'i:Heading_L2',
+ \ 'k:Heading_L3'
+ \ ]
+\ }

0 comments on commit fe39cfc

Please sign in to comment.