LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   show line numbers in vi (https://www.linuxquestions.org/questions/linux-newbie-8/show-line-numbers-in-vi-693513/)

swamprat 12-28-2008 04:49 PM

show line numbers in vi
 
I know when I edit a file with VI I can set line number on with 'set number'.

How can I set line numbering on as a default so I don't have to key in the set command every time I edit a file with VI?

Thanks


Suse 11.0

mk27 12-28-2008 04:55 PM

Add it to ~/.vimrc


All times are GMT -5. The time now is 11:55 AM.