Fix slowness in vim with syntax highlighting

This commit is contained in:
Andrew Tomaka 2013-10-14 09:01:39 -04:00
parent dd2c097157
commit 1e0799ab37

4
.vimrc
View file

@ -51,6 +51,10 @@ set number
set noswapfile " Hope for the best
set virtualedit=all " Cursor can go anywhere
set scrolloff=3 " Keep cursor from touching edges
" Make syntax highlighting faster
syntax sync minlines=256
set ttyfast
set lazyredraw
" Tabs are 2 spaces
set tabstop=2
set softtabstop=2