To show line number in vim, use command
:set number
To hide numbers, type
:set nonumber
To always show line number, edit file
vi ~/.vimrc
Add
set number
To show line number in vim, use command
:set number
To hide numbers, type
:set nonumber
To always show line number, edit file
vi ~/.vimrc
Add
set number