On 2006-08-31, Bruce Korb <[EMAIL PROTECTED]> wrote:
> Diwaker Gupta wrote:
> > And 'vim -u NONE' doesn't work for you?
> 
> alias vi='vim -u NONE'
> 
> OK.  That works.  Can't that be done with something a little more
> obvious in ~/.vimrc ??  So, I'll burn that in my brain and not be
> bothered anymore.  Thank you all.  Bruce

I was just looking through ":help starting.txt" and it seems to me 
that putting

    set all&
    set compatible
    set noloadplugins
    filetype off

at the very start of your ~/.vimrc or ~/.exrc ought to give you as 
basic a vi as you can get from vim, even if a system vimrc has 
already been sourced.

I'm not sure about the proper ordering of those first two, or if it 
makes a difference.

HTH,
Gary

-- 
Gary Johnson                 | Agilent Technologies
[EMAIL PROTECTED]     | Wireless Division
                             | Spokane, Washington, USA

Reply via email to