X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=vim%2F.vimrc;h=674025087006ead81884e1afe690fa55b5d8244f;hb=7efd7af689d6679b43e1606460d52258571db2e8;hp=e3bcafd9f3f2235876e6c9dfc1d8f56bc9b8988e;hpb=0cdd10f52e15af91d54cfff72955f624e56f8b6c;p=dotfiles.git diff --git a/vim/.vimrc b/vim/.vimrc index e3bcafd..6740250 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -23,6 +23,7 @@ set colorcolumn=80 set textwidth=79 set shiftwidth=4 set tabstop=4 +set nowrap " List characters to mark trailing whitespace etc set listchars=nbsp:¬,tab:▸\ ,eol:↩,extends:»,precedes:«,trail:• @@ -42,6 +43,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 ['', '', '', ''] @@ -62,3 +67,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