How do you get line numbers in Vi? I tried once but `:set number` put them inside the file!
:set nu
to remove line numbers:
:set nonu
the line numbers aren't added to the file. they're just shown on the vi editor.
and if you like vim & git i highly recommend: vim-gitgutter