Showing posts with label vi. Show all posts
Showing posts with label vi. Show all posts

Friday, May 29, 2009

How to show line number and set tab size in vi or vim

To show line number:
:set number

To stop displaying the line number:
:set nonumber

To set tab size to 4:
:set ts=4