User Tools

Site Tools


blog:vim_show_linenumberes

This is an old revision of the document!


vim show linenumbers

Displaying line numbers while editing a file can be handy. This recipe describes how to turn on and off the display of line numbers in vi and vim.

While editing a document (and not inserting text), type the following to turn on line numbers:

:set number

If you tire of the line numbers, enter the following command to turn them off:

:set nonumber

~~LINKBACK~~

Discussion

Enter your comment. Wiki syntax is allowed:
   ___    ____  ____   __  __  _____
  / _ \  / __/ / __ \ / / / / / ___/
 / , _/ / _/  / /_/ // /_/ / / /__  
/_/|_| /___/  \___\_\\____/  \___/
 
blog/vim_show_linenumberes.1260455237.txt.gz · Last modified: 2009-12-10 15:27 by brb