aboutsummaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorAdrian Kummerlaender2017-04-30 20:20:05 +0200
committerAdrian Kummerlaender2017-04-30 20:20:05 +0200
commit3dff877392be32d2b7b20276e11a0db0aad8b790 (patch)
treec33ba8dc9dff4671622f4a59ab6c972e53bc276f /vim
parent2fd1356853df7edb0665325baab2695ad488a40b (diff)
downloaddotfiles-3dff877392be32d2b7b20276e11a0db0aad8b790.tar
dotfiles-3dff877392be32d2b7b20276e11a0db0aad8b790.tar.gz
dotfiles-3dff877392be32d2b7b20276e11a0db0aad8b790.tar.bz2
dotfiles-3dff877392be32d2b7b20276e11a0db0aad8b790.tar.lz
dotfiles-3dff877392be32d2b7b20276e11a0db0aad8b790.tar.xz
dotfiles-3dff877392be32d2b7b20276e11a0db0aad8b790.tar.zst
dotfiles-3dff877392be32d2b7b20276e11a0db0aad8b790.zip
Add vim tagbar settings, update ctrlp settings
Diffstat (limited to 'vim')
-rw-r--r--vim/.vimrc23
1 files changed, 19 insertions, 4 deletions
diff --git a/vim/.vimrc b/vim/.vimrc
index f5a885f..cbdabd0 100644
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -119,16 +119,31 @@ let g:goyo_margin_top = 1
let g:goyo_margin_bottom = 0
let g:matlab_behave_paste_cmd = "alt+v"
-let g:pandoc#modules#disabled = ["folding","spell","chdir"]
-let g:pandoc#syntax#conceal#blacklist = ["image","atx"]
-let g:pandoc#syntax#codeblocks#embeds#langs = ["c","cpp","sh","xslt","xml","python","php","diff","gdb","lisp","scheme","asm"]
-
nnoremap <F4> :NERDTreeToggle<CR>
nnoremap <F5> :MundoToggle<CR>
nnoremap <F6> :GitGutterToggle<CR>
nnoremap <F7> :set cursorline!<CR>
+nnoremap <F8> :TagbarToggle<CR> zz
nnoremap <F12> :Goyo<CR>
+" ctrlp file opener
+nnoremap <c-t> :CtrlPBufTag<CR>
+nnoremap <a-t> :CtrlPTag<CR>
+
+let g:ctrlp_custom_ignore = {
+\ 'dir': '\.git$',
+\ 'file': '\.o$\|\.d$'
+\ }
+
+" tagbar
+let g:tagbar_autofocus = 1
+let g:tagbar_compact = 1
+
+" pandoc
+let g:pandoc#modules#disabled = ["folding","spell","chdir"]
+let g:pandoc#syntax#conceal#blacklist = ["image","atx"]
+let g:pandoc#syntax#codeblocks#embeds#langs = ["c","cpp","sh","xslt","xml","python","php","diff","gdb","lisp","scheme","asm"]
+
" latex suite
set grepprg=grep\ -nH\ $*
let g:tex_flavor = "latex"