On 2009-09-29, [email protected] wrote:
> Hi,
> 
> WARNING!   WINDOWS NEWBIE AHEAD!   WARNING!
> 
> I am a long time user of Linux. At work I have to work on Windows XP.
> Most of the functionality of my vim installation on my Linux box I could 
> "recreate" on the Windows PC, but one thing needs to be fixed.
> 
> There two places, which (for example) contain the "plugins" folder:
>     C:\Programs\vim\vim72\.
> and
>     C:\Own Documents\<userid>\vim\.
> 
> (or similiar...I cant remember exactly...and the PC is installed with
> german languag support, and I dont know, how Windows names the folders
> originally, when using English language support...sorry...this is more
> or less guessed...)
> 
> Everything installed below the first directory tree is read by vim
> automagically anything else is ignored.
> 
> How can I make the second path visible and used by vim in a consistent
> and "legal" way?

I think the easiest way is to look at the value of 'rtp', e.g.,

    set rtp?

and put your personal plugins folder where vim is looking for it.
For example, on the Windows XP machine I'm using now, 'rtp' is

    C:\Documents and Settings\Gary/vimfiles,
    C:\Program Files\Vim/vimfiles,
    C:\Program Files\Vim\vim72,
    C:\Program Files\Vim/vimfiles/after,
    C:\Documents and Settings\Gary/vimfiles/after

where I added line breaks after each comma for readability.  So on
this machine, I put my vimfiles directory and my _vimrc file in the
C:\Documents and Settings\Gary directory.

You can also see from the above that Vim looks for plugins in three
places, not two (not counting "after" directories).

For more on this, see

    :help rtp
    :help startup

Regards,
Gary



--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to