From: Iain Patterson Date: Thu, 17 Mar 2016 12:31:10 +0000 (+0000) Subject: Use relativenumber if available. X-Git-Url: http://git.iain.cx/?a=commitdiff_plain;h=cfe2fb3b392b34e073360cc91b00ace56e048341;p=profile.git Use relativenumber if available. --- diff --git a/.vimrc b/.vimrc index a72c2dc..9906303 100644 --- a/.vimrc +++ b/.vimrc @@ -386,6 +386,9 @@ endfun "}}}2 fun! Number(resize) "{{{2 call Iain_Vars() let &number = ! &number + if version >= 700 + let &relativenumber = &number + endif " Ensure we keep track of any extra columns even if we aren't resizing. " This prevents confusion when number is set at startup.