]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
vimrc: Don't redraw screen while executing macros.
authorSimon Ruderich <simon@ruderich.org>
Fri, 12 Mar 2010 03:07:39 +0000 (04:07 +0100)
committerSimon Ruderich <simon@ruderich.org>
Fri, 12 Mar 2010 03:07:39 +0000 (04:07 +0100)
vimrc

diff --git a/vimrc b/vimrc
index a585717b03e14bae75e5fd247ad315770c781e9a..88db35b817f38a9efd94d96853484b53d14bbf96 100644 (file)
--- 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