X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=vim%2F.vimrc;h=e70d8b5ca2f515c1f098319517a43573200e6536;hb=4c9a4ba24952cad37d093de6e1166013664b8fd2;hp=674025087006ead81884e1afe690fa55b5d8244f;hpb=7efd7af689d6679b43e1606460d52258571db2e8;p=dotfiles.git diff --git a/vim/.vimrc b/vim/.vimrc index 6740250..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... @@ -70,3 +70,6 @@ let g:syntastic_check_on_wq = 0 " Vimtex options let g:vimtex_compiler_enabled = 0 + +" Background transparency +hi Normal guibg=NONE ctermbg=NONE