3

Bascially, I want to increase the space between line number and code. Other line number plugin is also acceptable.

From this:

enter image description here

to this:

enter image description here

2

2 Answers 2

1

The option numberwidth changes the width of the number gutter.
E.g.
set numberwidth=10

0

It works (in the 'vim terminal') ...like %left 5 % : whole document left: distance between linenrs and code `0 till infinitiy' : how many columns (=space of a monospace character) to go to the left

1
  • 8
    Note that this actually re-justifies the code (the purpose of the left command). I think the OP was looking for more of a visual effect that didn’t modify the code.
    – D. Ben Knoble
    Sep 8, 2021 at 11:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.