From 1e0799ab37e1bbd34ed1d021ff4877c0734f5100 Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Mon, 14 Oct 2013 09:01:39 -0400 Subject: [PATCH] Fix slowness in vim with syntax highlighting --- .vimrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.vimrc b/.vimrc index f95eb70..2777f74 100644 --- a/.vimrc +++ b/.vimrc @@ -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