Sublime Forum

How do I change the size of the line number gutter?

#1

Is there a way to define the size of the line number gutter? I’m looking for something similar to the numberwidth setting in Vim.

When I switch between files that differ in size in orders of magnitude (10s of lines, 100s, 1000s), the size of the line number gutter changes with each one. This causes the view of the text content to shift slightly left & right.

I’d like to be able to set a sufficiently large line number width (ex. 6 digits) as to prevent this.

Another option could be to automatically adjust the width for the views of all the open files based on the size needed for the biggest one of them.

4 Likes

#2

There’s currently no setting for this

0 Likes

#3

Has this changed at all. I tab quickly through my files sometimes for sanity checks and a setting for this would be great.

0 Likes

#4

I have the same question. Is there any update for this? It would be useful to be able to specify the width of the entire gutter include the left margin and the line number field width.

0 Likes

#5

I have the same request. This would be very useful.

0 Likes