aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2017-04-30 20:20:05 +0200
committerAdrian Kummerlaender2017-04-30 20:20:05 +0200
commit3dff877392be32d2b7b20276e11a0db0aad8b790 (patch)
treec33ba8dc9dff4671622f4a59ab6c972e53bc276f
parent2fd1356853df7edb0665325baab2695ad488a40b (diff)
downloaddotfiles-3dff877392be32d2b7b20276e11a0db0aad8b790.tar
dotfiles-3dff877392be32d2b7b20276e11a0db0aad8b790.tar.gz
dotfiles-3dff877392be32d2b7b20276e11a0db0aad8b790.tar.bz2
dotfiles-3dff877392be32d2b7b20276e11a0db0aad8b790.tar.xz
dotfiles-3dff877392be32d2b7b20276e11a0db0aad8b790.zip
Add vim tagbar settings, update ctrlp settings
-rw-r--r--fish/.config/fish/config.fish3
-rw-r--r--vim/.vimrc23
2 files changed, 21 insertions, 5 deletions
diff --git a/fish/.config/fish/config.fish b/fish/.config/fish/config.fish
index a8477e6..19572c5 100644
--- a/fish/.config/fish/config.fish
+++ b/fish/.config/fish/config.fish
@@ -1,6 +1,7 @@
umask 0077
-set EDITOR vim
+export EDITOR=vim
+export VISUAL=vim
set fish_greeting ""
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"