PDA

View Full Version : [gnome] vi in terminal - vimrc - set number



crowhill
June 27th, 2008, 02:30 AM
hi there!

i'm starting to use the editor vi. my vimrc-file looks as follows:

set number
set linebreak
set wm=4
set ai

the problem is that the "set number" results in an empty left margin whose width is comparable to the space jumped to the right after hitting tab-key.

see the screenshot.

how can i set the space to the left of the line number to zero?

thanks a lot in advance,
cheers,
crowhill.

nick_h
June 27th, 2008, 04:29 PM
This is normal - it allows for line numbers of 7 digits. I don't think that you can change it.

Duck2006
June 27th, 2008, 04:32 PM
Some info on vi.

http://people.cis.ksu.edu/~bhoward/vi/