X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=vimrc;h=d8bd27c8471e480da246aa8d7693bb4089baedc5;hb=da7ec5c2e94c93bc2965e4496824a3c2c687527b;hp=72a19f770e2790ba84ca59844c638f739814392e;hpb=b33a673c7ed168beb3f280bf347412114b86d8b1;p=config%2Fdotfiles.git 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