X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=vim%2F.vimrc;h=3479ab332136bf2888630b888966c7c6605305d3;hb=60d33e17ce713734c3bf9c1d7ab47e3712c0d04d;hp=42d87df669705e92785adc2cc05c60a40cb3055b;hpb=dbe697799605c94802426a3c5045537a1b41c2b6;p=dotfiles.git diff --git a/vim/.vimrc b/vim/.vimrc index 42d87df..3479ab3 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -5,6 +5,8 @@ autocmd! bufwritepost .vimrc source % syntax enable filetype indent plugin on color torte + +" Settings set encoding=utf-8 set history=1000 set number @@ -22,8 +24,11 @@ set textwidth=79 set shiftwidth=4 set tabstop=4 set nowrap - -" List characters to mark trailing whitespace etc +set lazyredraw +set smartcase +set ignorecase +set scrolloff=1 +set sidescrolloff=1 set listchars=nbsp:¬,tab:▸\ ,eol:↩,extends:»,precedes:«,trail:• set list @@ -57,7 +62,7 @@ map Q set foldmethod=marker set foldlevelstart=99 -" Unbind arrow keys, who has them anyways on the keyboard... +" Unbind arrow keys, who has them anyway on the keyboard... for prefix in ['i', 'n', 'v'] for key in ['', '', '', ''] exe prefix . "noremap " . key . " " @@ -80,6 +85,3 @@ let g:syntastic_check_on_wq = 0 " Vimtex options let g:vimtex_compiler_enabled = 0 - -" Background transparency -hi Normal guibg=NONE ctermbg=NONE