vim with alternative .vimrc file

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

vim with alternative .vimrc file

luke-44
Hi.

How do I start vi with a different .vimrc file than the default?

I need to set some options that I don't want to impose on other users.

Thanks.
Kind regards.
Luke.


--
............._..
.|  .| |.|/.|_ .
.|__.|_|.|\.|_ .
:61 421 276 282:
Reply | Threaded
Open this post in threaded view
|

Re: vim with alternative .vimrc file

Pete Johns
On Thu, 2006-03-30 at 08:58:01 +0930, luke@c... sent:
>Hi.
>
Hi Luke,


>How do I start vi with a different .vimrc file than the default?
>
Start with -u {vimrc}

See :help -u

>I need to set some options that I don't want to impose on other
>users.
>
If your .vimrc is in $HOME, then this would not affect other
users of the system.

Hope this helps;

--paj
--
Pete Johns                                   <http://johnsy.com/>
Tel/Fax numbers and IM information:  <http://johnsy.com/contact/>
Flickr             <http://johnsy.com/blog/?entry=20060328203020>