VIM is a clone of VI with additional features and is cross-platform.
In order to show line numbers in VIM whenever you open up a source file, open _vimrc at VIM installation directory.
Add the following line at the start of the file:
set number
This will set displaying of line numbers by default in VIM.













