vi / vim - Show Line Numbers
Sunday, 26 July 2009 13:17

Below shows you how to display line numbers within vi.

Enable

While in VI and not in `Insert Mode`type the following to display the line numbers :

:set number

Disable

To disable line numbers enter the following :

:set nonumber


 
We have 62 guests online