K. Alexander
K. Alexander

Reputation: 47

Any way to add additional space after line number in Vim?

I am looking for a way to move text further from the line number in Vim. Default settings are to add one space after the line number when using set number. I would like to add a bit more. Using set numberwidth=n doesn't help, because additional space goes before the line number, not in between the line number and the text itself.

Upvotes: 2

Views: 897

Answers (1)

Sander Vanhove
Sander Vanhove

Reputation: 1115

No native Vim option seems to alter this, but there is an old plugin which could accomplish what you want to achieve called vimroom. It is not actively being maintained and I don't know if it still works with current Vim versions. But this screenshot makes it look like it is possible to have the line numbers way on the left.

Hopefully this pointer helps you out!

Upvotes: 1

Related Questions