Thursday, August 1, 2013

Set Tab to 4 Spaces in Vim

Add the following to your $HOME/.vimrc file:
set ts=4

Using vi, open an existing document or create a new one, then hit the TAB key. Your cursor should only advance 4 spaces to the right.

Courtesy of:

No comments:

Post a Comment