How to enable numbering in vim editor?

When we want to edit any file using vim or vi edtior, we dont see the line numbers. 

So, to enable them,

simply type 

:set nu

To disable them

:set nu!

0 comments:

Post a Comment