Hi,
On Sat, Sep 10, 2011 at 13:36:05 +0300, Dotan Cohen wrote:
> It seems that the smartindent feature is inserting two tabs in my code
> instead of one tab, each time I change block {} level. What could
> cause that? This is in Kubuntu 11.04, using VIM in Konsole (KDE
> terminal emulator). I recently installed the vim-gnome package to
> enable clipboard support (regular vim in Ubuntu is compiled without
> clipboard support) and I think that this problem started about the
> time that I installed the vim-gnome package. Note that I am still
> using VIM in the terminal editor, not the GUI window.
>
> $ cat .vimrc
> set tabstop=4
> set smartindent
>
> Thanks.:help shiftwidth What you need is: :set shiftwidth=4 -- GPG-Key: http://thomasba.de/thomasba.asc Fingerprint: D80B 64DD 78A7 4F15 57AD 20F2 9913 00F0 C341 D8FF Jabber: [email protected] Linux User: #447872
pgp4v2weWz5ry.pgp
Description: PGP signature
