X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=vim%2F.vimrc;h=e70d8b5ca2f515c1f098319517a43573200e6536;hb=7553d3a3fcf877457ea1c93d2d7ab1e3ba11487a;hp=794c49c428c201babc4ca0a789394489f9abd9fb;hpb=ec1f37d52d491d731b8b3463d8704102256a30ca;p=dotfiles.git diff --git a/vim/.vimrc b/vim/.vimrc index 794c49c..e70d8b5 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -1,7 +1,5 @@ " Automaticly source some files after writing autocmd! bufwritepost .vimrc source % -autocmd! bufwritepost .bashrc !source % -autocmd! bufwritepost .Xresources !xrdb -merge % " Some general options syntax enable @@ -33,9 +31,11 @@ set list map j gj map k gk -" Custom split switching using tab -map l l -map h h +" Custom split and tabswitching using tab +map l +map h +map l l +map h h map j j map k k @@ -44,7 +44,7 @@ nnoremap n nzzzv nnoremap N Nzzzv " Fold settings -set foldmethod=syntax +set foldmethod=marker set foldlevelstart=99 " Unbind arrow keys, who has them anyways on the keyboard... @@ -67,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