X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=vim%2F.vimrc;h=e2208dfc484a609df52117f42c064506aa603972;hb=cd384bf60b2f818cfe06ebd183a402455979ca52;hp=2f5c2c9a3f4192c7b202e8bbe78861cd0d232ba8;hpb=b8fc352571c05eb7d21afae4ee9cf1e62850e1ab;p=dotfiles.git diff --git a/vim/.vimrc b/vim/.vimrc index 2f5c2c9..e2208df 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -1,6 +1,3 @@ -" Package manager -execute pathogen#infect() - " Automaticly source some files after writing autocmd! bufwritepost .vimrc source % autocmd! bufwritepost .bashrc !source % @@ -45,6 +42,10 @@ map k k nnoremap n nzzzv nnoremap N Nzzzv +" Fold settings +set foldmethod=syntax +set foldlevelstart=99 + " Unbind arrow keys, who has them anyways on the keyboard... for prefix in ['i', 'n', 'v'] for key in ['', '', '', ''] @@ -65,3 +66,6 @@ let g:syntastic_always_populate_loc_list = 1 let g:syntastic_auto_loc_list = 1 let g:syntastic_check_on_open = 0 let g:syntastic_check_on_wq = 0 + +" Vimtex options +let g:vimtex_compiler_enabled = 0