[Techtalk] Vim indenting

Brenda Bell k15a-list-linuxchix at theotherbell.com
Thu Dec 18 09:11:15 EST 2003

Quoting Noir <acknak_halflife at yahoo.co.uk>:

> While writing program in C/ C++ I face the problem of vim's not
> indenting
> statements like "while" by one tab stop [4 spaces].
> I have done "set tabstop=4" & also "set softtabstop=4" & also "set
> shiftwidth=4" in .vimrc but this doesn't seem to help.

It's been a while but you might want to try something like "set autoindent".


More information about the Techtalk mailing list