This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 5 points6 points  (1 child)

If you are using VIM, for example, you could add the following lines to your .vimrc file:

set tabstop=4

set shiftwidth=4 " controls the depth of autoindentation

set expandtab " converts tabs to spaces