[Techtalk] Vim indenting

Noir acknak_halflife at yahoo.co.uk
Thu Dec 18 23:57:27 EST 2003


On Thu, Dec 18, 2003 at 08:11:15AM -0500, Brenda Bell wrote:
> > 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".

Hi Brenda,

Have tried that..but I have to press tab as usual..it does not automatically
indent :(

Regards,
Noir.


More information about the Techtalk mailing list