
:set ruler
:set number will show linenumbers for the file. To remove linenumbers you can use any of the following:
:set number!
:set nu!
:set nonumber
:set nonu
:set nonumber!
:set nonu!
A ! at the end of a set command will toggle the current state of that setting.