Set vi's default tab size to 4


I use 4 spaces for tabs but the default vi (aka vim) in Debian Etch uses 8 spaces. To make it default to 4, create a .vimrc file in your home directory with the line:

:set tabstop=4

Date: 2007-05-19

Tags:  text

Share: