From: Iain Patterson Date: Thu, 9 Jul 2009 14:25:11 +0000 (+0100) Subject: Set diff mode columns sensibly. X-Git-Url: http://git.iain.cx/?a=commitdiff_plain;h=4e5e1cbacdc09f06d70f30c42e5b0fa76f23b512;p=profile.git Set diff mode columns sensibly. --- diff --git a/.vimrc b/.vimrc index 6e26f27..65d8895 100644 --- a/.vimrc +++ b/.vimrc @@ -467,7 +467,9 @@ se diffopt=filler,iwhite " Expand window when doing a vertical diff. if &diff - let &columns = 164 + if &columns < 161 + let &columns = &columns * 2 + endif endif " Remember that we are opening the quickfix window.