X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;ds=sidebyside;f=vimrc;h=acc361f74e54da10b3daf9b41692d963e6761794;hb=312f46c288d46273109e5a75e391e920a8fce8b0;hp=a585717b03e14bae75e5fd247ad315770c781e9a;hpb=d37065a3aca383c1663ec416a25ea54ede925b1b;p=config%2Fdotfiles.git diff --git a/vimrc b/vimrc index a585717..acc361f 100644 --- a/vimrc +++ b/vimrc @@ -125,6 +125,10 @@ set ruler " Display partial commands in the status line. set showcmd +" Don't redraw screen when executing macros; increases speed. Thanks to James +" Vega (http://git.jamessan.com/?p=etc/vim.git;a=summary). +set lazyredraw + " Visualize the line the cursor is currently in. if v:version >= 700 set cursorline @@ -256,6 +260,11 @@ endif if has('syntax') syntax enable +" Don't highlight more than 200 columns as I normally don't have that long +" lines and they slow down syntax coloring. Thanks to Derek Wyatt +" (http://www.derekwyatt.org/vim/the-vimrc-file/). + set synmaxcol=200 + " Highlight lines longer than 78 characters. Thanks to Tony Mechelynck " from the Vim mailing list. It can easily be " disabled when necessary with :2match (in Vim >= 700).