How To Show Line Numbers in Vim/Vi?

How To Show Line Numbers in Vim/Vi?

By default, Vim/vi do not show line numbers on the left side of the terminal. As an advanced command-line text editor Vim/Vi provides advanced features for showing line numbers like relative and hybrid line numbering. Why Show Vim/Vi Line Numbers? Line numbers can be used for different reasons from different points of user view. Below … Read more