Show or hide line numbers in vim

Note Statistics

Note Statistics

  • Viewed 26 times
Mon, 05/03/2021 - 21:29
  1. Press ESC if needed
  2. Type :set nu or :set number
  3. Now you can see line numbers

To hide numbers

  1. Press ESC if needed
  2. Type :set nonumber
  3. Now line numbers are not shown
Authored by
Tags