How do I change the width of the line numbers displayed using the

“number” option? You can set the minimum number of columns to be used for line numbering by setting the ‘numberwidth’ option:

    :set numberwidth=3

This set’s the width for the line number to 3 digits, which is enough, if your buffer contains less than 999 lines. However, if your current buffer contains more lines than 999, the ‘numberwidth’ will be adjusted accordingly, so that the maximum line number will fit on the screen.

Read free Software Algorithms and Computer Science Books by CodeAhoy Learn.

Introduction to Recursion and Backtracking

Sorting Algorithms

Introduction to C Programming Language

And More...

Speak Your Mind