commit e3c53a9ca03f0bf119c23a50b99a497ef6dece53
parent bb9311cbabfcf5356e5e8946262d10ee51d5f922
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Mon, 3 Dec 2018 15:03:04 +0100
Tagbar installed in vim
Diffstat:
3 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/vim/general.vimrc b/vim/general.vimrc
@@ -2,6 +2,9 @@
" Update file when changed from the outside
" set autoread
+" tags files
+set tags=./tags,tags,.git/tags
+
" matchit.vim is default, why not enable it
runtime macros/matchit.vim
diff --git a/vim/map.vimrc b/vim/map.vimrc
@@ -7,6 +7,9 @@ vnoremap ; :
" NERDTree
nnoremap <leader>f :NERDTreeToggle<cr>
+" Tagbar
+nnoremap <leader>t :TagbarToggle<cr>
+
" Disable q: cuz I hate it
nnoremap q: <Nop>
diff --git a/vim/plugins.vimrc b/vim/plugins.vimrc
@@ -45,5 +45,6 @@ Plug 'vimwiki/vimwiki'
" Easy table making (unnecessary because vimwiki has this built in)
" Plug 'dhruvasagar/vim-table-mode'
+Plug 'majutsushi/tagbar'
call plug#end()