Saturday April 19, 2008 08:14
Enable Vim Line Numbering
Posted by shakir as Information Insemination
Line numbering is a very useful feature in a text editor, especially for programmers. Being a full feature text editor, Vim also have it supported, but not enabled by default.
To enable it, simply add this line to /etc/vim/vimrc or ~/.vimrc
set number
or just type
:set number
while you’re already in Vim.
3 Responses to Enable Vim Line Numbering
seymour
April 21st, 2008 at 11:35 am
:set nu
:set nonumber # to off numbering
orgthingy
October 17th, 2008 at 3:43 pm
oh, this helped alot! thanks ^_^
shakir
October 19th, 2008 at 5:41 am
You’re welcome