[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: VIM Auto Indent



In article <[🔎] 20020731135848.GA5307@caustic.oddprocess.org>,
Matthew Daubenspeck  <matt@oddprocess.org> wrote:
>I am currently using VIM - Vi IMproved 6.1 and HATE how it uses
>auto-tabbing. Basically if I add a file and indent it with a tab, after
>I start a new line, vim auto-indents the next line with a tab.
>This is helpful at times, but when I try inserting large sections of
>code, it really botches the hell out of it. Is there anyway to disable
>this?

I hate a lot of the stuff vim enables by default. I asked Wichert
if he could make it conditional; call 'vi' and vim behaves as
standard vi, call 'vim' and all bells and whistles are turned
on. That's quite easy to do in /etc/vimrc. However it hasn't
been done.

Anyway, I digress. Put this in your homedir as ".vimrc":

#==============================

:version 4.0

set cmdheight=1
set nobk
set nocp
set noai

set showcmd
set showmatch
set autowrite

if v:version > 550
  filetype plugin off
endif

#==============================


Mike.



Reply to: