vi display line numbers Jan 9, 2019 • ulysses 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 Turn it off. vim filename :set nonumber