aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2017-04-30 20:51:33 +0200
committerAdrian Kummerlaender2017-04-30 20:51:33 +0200
commit0ba384ed3b50df54cce704bcee24aee6c0642c1c (patch)
treecca0aca74fb07716ebfa46c8f43e6716e26a1eb3
parent3dff877392be32d2b7b20276e11a0db0aad8b790 (diff)
downloaddotfiles-0ba384ed3b50df54cce704bcee24aee6c0642c1c.tar
dotfiles-0ba384ed3b50df54cce704bcee24aee6c0642c1c.tar.gz
dotfiles-0ba384ed3b50df54cce704bcee24aee6c0642c1c.tar.bz2
dotfiles-0ba384ed3b50df54cce704bcee24aee6c0642c1c.tar.xz
dotfiles-0ba384ed3b50df54cce704bcee24aee6c0642c1c.zip
Setup vim tagbar behavior
-rw-r--r--vim/.vimrc9
1 files changed, 6 insertions, 3 deletions
diff --git a/vim/.vimrc b/vim/.vimrc
index cbdabd0..bd71e99 100644
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -53,6 +53,7 @@ map <leader>fc :foldclose<CR>
map <leader>fo :foldopen<CR>
map <leader>t :Tab/\|<CR>
map <leader>c zz
+map <leader>d <c-]>
nmap <backspace> :e#<CR>
nmap f za
@@ -123,7 +124,7 @@ nnoremap <F4> :NERDTreeToggle<CR>
nnoremap <F5> :MundoToggle<CR>
nnoremap <F6> :GitGutterToggle<CR>
nnoremap <F7> :set cursorline!<CR>
-nnoremap <F8> :TagbarToggle<CR> zz
+nnoremap <F8> :TagbarToggle<CR>
nnoremap <F12> :Goyo<CR>
" ctrlp file opener
@@ -136,8 +137,10 @@ let g:ctrlp_custom_ignore = {
\ }
" tagbar
-let g:tagbar_autofocus = 1
-let g:tagbar_compact = 1
+let g:tagbar_autoclose = 1
+let g:tagbar_autopreview = 1
+let g:tagbar_compact = 1
+let g:tagbar_width = 70
" pandoc
let g:pandoc#modules#disabled = ["folding","spell","chdir"]