[Techtalk] Vim indenting
Diggy Bell
diggy at dbsoftdev.com
Thu Dec 18 11:57:10 EST 2003
Here's what I've got in my ~/.vimrc
:set et sw=3 ts=3 nu nowrap ai
syntax on
That should do what you want.
William D. 'Diggy' Bell
Principal
DB Software Development
http://www.dbsoftdev.com
----- Original Message -----
From: "Noir" <acknak_halflife at yahoo.co.uk>
To: <techtalk at linuxchix.org>
Sent: Thursday, December 18, 2003 2:21 AM
Subject: [Techtalk] Vim indenting
> 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.
>
> Any suggestion/s?
>
> Regards,
> Noir.
> _______________________________________________
> Techtalk mailing list
> Techtalk at linuxchix.org
> http://mailman.linuxchix.org/mailman/listinfo/techtalk
>
>
More information about the Techtalk
mailing list