vi № строки
set number
set nonumber
Jittery Jackal
set number
set nonumber
:set number
vim ~/.vimrc
Next, don't forget to append the following line:
set number