X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=vim%2F.vimrc;h=794c49c428c201babc4ca0a789394489f9abd9fb;hb=ec1f37d52d491d731b8b3463d8704102256a30ca;hp=7811221780b701b3ea64a37b48f36d4d2105556c;hpb=9ed401a9b2b8042a035996d9be4c6d43bad08cff;p=dotfiles.git diff --git a/vim/.vimrc b/vim/.vimrc index 7811221..794c49c 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,7 +6,7 @@ autocmd! bufwritepost .Xresources !xrdb -merge % " Some general options syntax enable filetype indent plugin on -color elflord +color torte set encoding=utf-8 set history=1000 set number @@ -26,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 @@ -45,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 ['', '', '', '']