From da7ec5c2e94c93bc2965e4496824a3c2c687527b Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Fri, 12 Mar 2010 04:04:08 +0100 Subject: [PATCH] vimrc: Use as little space as possible for numbers column. --- vimrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/vimrc b/vimrc index 72a19f7..d8bd27c 100644 --- a/vimrc +++ b/vimrc @@ -111,6 +111,11 @@ set background=dark " Display line numbers. set number +" But use as little space as necessary for the numbers column. Thanks to James +" Vega (http://git.jamessan.com/?p=etc/vim.git;a=summary). +if v:version >= 700 + set numberwidth=1 +endif " Display the ruler with current line/file position. If 'statusline' is used " then this only affects . set ruler -- 2.44.2