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

Re: VIM features



On Mon, Jan 21, 2002 at 09:52:10AM +0100, Hans Freitag wrote:
> Hi,
> 
> On Sun, Jan 20, 2002 at 12:09:10PM +0000, Miquel van Smoorenburg wrote:
> 
> > How about turning off all non-standard-vi features by default
> > such as "autoindent" and the especially annoying "filetype plugin on"
> > and surrounding all vim-features with
> > 
> > if v:progname != "vi"
> > 	s00perd00per vim/gvim options
> > endif
> 
> Bad idea, i don't like typing m after vi to get the editor.
> 

Then you just need 

alias vi=vim

I guess, since the shell replaces vi by vim before passing it to the interpreter.


-- 
Eric VAN BUGGENHAUT     "Hay tampones y tampones..." (Eva Serrano)
			Andago
        \_|_/           Av. Santa Engracia, 54
       \/   \/          E-28010 Madrid - tfno:+34(91)2041100
a n d a g o  |--        http://www.andago.com
       /\___/\ 		"Innovando en Internet"
        / | \           eric@andago.com



Reply to: