In order to add line numbers there are seveal options: Add line numbers (applies to the current session only) or: To turn it off there are three ways: (only applies to the current session) To enable line numbers on start up, add the following to .vimrc or Having the line numbers displayed is extremely useful …