X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=vim%2F.vimrc;h=e70d8b5ca2f515c1f098319517a43573200e6536;hb=7553d3a3fcf877457ea1c93d2d7ab1e3ba11487a;hp=3e1569d22d250a9a5ca9ee47967fbdcf56858d3d;hpb=29f4acd0ae2d23db79e33cc0d4d064b53771d1f6;p=dotfiles.git diff --git a/vim/.vimrc b/vim/.vimrc index 3e1569d..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...