Uly.me

cloud engineer

  • Home
  • About
  • Archives
Home/Archives for vi

January 9, 2019

Vi Display Line Numbers

If you work with the vi or vim editors in Linux, sometimes it’s nice to be able to see the line numbers display on the editor.

Turn it on.

vim filename
:set number

vim filename :set number

Turn it off.

vim filename
:set nonumber

vim filename :set nonumber

  • Cloud
  • Linux
  • Git

Copyright © 2012–2021