skip to content
Alvin Lucillo

Vim set line number

/ 1 min read

💻 Tech

To set row/line number in Vim, enter :set number

Opening a file without line number:

Just another journal today
Nothing more
Nothing less
~
~
~
~
~

With line number:

  1 Just another journal today
  2 Nothing more
  3 Nothing less
~
~
~
~
~
:set number