X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=vim%2F.vimrc;h=3e1569d22d250a9a5ca9ee47967fbdcf56858d3d;hb=30b6457bcd8ea12f5ec67d49cc3582fccee100d6;hp=bf5bb9c801b6d91ed5d16d0494140d422c8afb27;hpb=7c0c395e57530a31d96410759e5f65b12d2aaea2;p=dotfiles.git diff --git a/vim/.vimrc b/vim/.vimrc index bf5bb9c..3e1569d 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 % @@ -9,6 +6,7 @@ autocmd! bufwritepost .Xresources !xrdb -merge % " Some general options syntax enable filetype indent plugin on +color torte set encoding=utf-8 set history=1000 set number @@ -25,10 +23,11 @@ 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:• -set nolist +set list " Move through long lines as they were short multiple lines map j gj @@ -44,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 ['', '', '', ''] @@ -64,3 +67,9 @@ 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 + +" Background transparency +hi Normal guibg=NONE ctermbg=NONE