Thursday, August 27, 2009

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

2009/8/27 KF <kfleong.rm@gmail.com>:
>
> bill lam wrote:
>>
>> I guess that you still did not list the changes that you made.  In my
>> experience the official vim does not have to be install before use
>> either.  Just copying a few essential files is sufficient for working
>> under window.
>> gvim.exe
>> _vimrc
>> menu.vim
>> mswin.vim
>> autoload\paste.vim
>>
>
> Yes you can just copy the essential files from the official build and
> run it, but you would have to set the environment variables and such
> so that they would point to the correct folders on your "portable
> media". And if you answered Yes to the message to register OLE
> interface when first run on a PC which has no installation of Vim
> before, you would have modified the registry on the machine that you
> are running on.
>
> he gVim Portable was re-compile without OLE interface and include a
> launcher which conveniently sets up the environment variable to point
> to the relevant folders on the portable media and run from there. You
> can copy all your customised vimfiles and vimrc on it and use it from
> there on.
>
> Please give it a try and comment on the build is very much
> appreciated.

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?

Al

--
http://sites.google.com/site/abudden

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

No comments:

Post a Comment