Thursday, August 27, 2009

Re: ANN: gVim for Windows in Portableapps.com format!

A. S. Budden wrote:
>
> I'm intrigued by this customisation.  I have a compilation of vim
> without OLE that I use on my USB stick.  This has:
>
> x:\vim\vim72\...
> x:\vim\vimfiles\...
> x:\vim\_vimrc
> x:\vim\_gvimrc
>
> (where x: is whatever drive letter the USB stick is allocated).
>
> These files are identical to the ones I have installed on the hard
> drive of the PC (except that gvim.exe doesn't have OLE compiled in)
> and in the same location (except replace x: with c:).  I've never
> needed to set up environment variables or anything else and I get all
> of my customisations.  So what is the launcher doing?  What
> environment variables are being set?

I have not tested it using this kind of setup before.

As for the launcher, it basically sets the $VIM, $HOME and $RUNTIME
path to the paths on the USB stick/portable media. It also fix-up the
drive mappings of viminfo entries before start-up so that it matches
your current drive letter of the USB/stick/portable media. You can
look at the source of the launcher in the Other\Source folder for more
info.

Please try it and comment!

HTH,
KF

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

No comments: