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

statox
  • 49,782
  • 19
  • 148
  • 225
ZIYIM
  • 31
  • 2

2 Answers2

1

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

gildux
  • 264
  • 2
  • 11
Gustav Blomqvist
  • 791
  • 1
  • 6
  • 18
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

  • 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 08 '21 at 11:11