Tuesday, October 13, 2009

vim 101: how to enable line numbers

To enable line numbers, simply enter the following command in command mode:

:set number

To turn off line numbers, do the following:

:set nonumber


No comments: