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

Re: switching to vim-tiny for standard vi?

On Mon, Dec 19, 2005 at 07:06:34PM -0500, Joey Hess wrote:
> A few places were identified where vim's defaults are particularly
> umcomfortable to people who expect a standard vi, these include
> autoindent being defaulted to on in the system wide vimrc, and
> nocompatible being turned on there also, which makes vim -C not behave
> as expected and enables lots of divergant behavior. vim's maintainer may
> want to consider documenting/otherwise dealing with these if vim-tiny
> goes into base and becomes the program people get when running "vi" by
> default.

I have no objection in having a separate system-wide configuration file
(/etc/vim/virc) for vim when invoked as "vi", as implemented by aj's
patch. If the other members of the vim maintaince team (Cc-ed) have
neither as well I can apply the patch and come up with a suitable
configuration file which is more in the vi spirit.

So far the only two changes proposed for such a configuration file wrt
to the current one are:
- avoid setting "nocompatible"
- avoid setting "autoindent" on per default

Correct me if I'm wrong.

> I'd still like to know what Steve Greenland thinks of this, since he
> maintains nvi.


Stefano Zacchiroli -*- Computer Science PhD student @ Uny Bologna, Italy
zack@{cs.unibo.it,debian.org,bononia.it} -%- http://www.bononia.it/zack/
If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. -!-

Attachment: signature.asc
Description: Digital signature

Reply to: