Re: Single-File Vim?
On 26/09/06, Gene Kwiecinski <[EMAIL PROTECTED]> wrote: [snip] Hope you don't mind if I pass along your critique above (name/email redacted, natch; I try to respect other peoples' privacy) to another private list, as U3 was a topic about a month or so ago. Someone liked the idea of being able to put Firefox and other stuff on a flash-thingy and be able to have all his settings, bookmarks, etc., all able to be dragged from machine to machine. Don't know if he went and got a U3 thingy yet, but if this is an issue, he and others should know. From what I can tell from the U3 website, it just uses PortableFirefox to get firefox working on a flash drive. That's available from John Hallen's website anyway: you don't need any particular flash drive to use it. Hope that helps, Al
Re: Single-File Vim?
On 9/26/06, Gene Kwiecinski <[EMAIL PROTECTED]> wrote: Hope you don't mind if I pass along your critique above (name/email redacted, natch; I try to respect other peoples' privacy) to another private list, as U3 was a topic about a month or so ago. Someone liked the idea of being able to put Firefox and other stuff on a flash-thingy and be able to have all his settings, bookmarks, etc., all able to be dragged from machine to machine. Don't know if he went and got a U3 thingy yet, but if this is an issue, he and others should know. go ahead. Please try the sfx I created to see what I mean by running and cleaning up. ( http://www.sharebigfile.com/file/9444/gvim7.exe.html ) I remember creating firefox and thunderbird sfx plugins. Just know this: unlike gvim, these will create Application_Data. -- Christian
RE: Single-File Vim?
>>>Is there a binary compiled for Windows which allows me to run Vim >>>without any of the runtime files? Long story short, I want something >>>I can keep online or on a USB key and just copy to the desktop of any >>>computer I sit at. >>I saw the entire thread so far, and while there are lots of possible >>solutions, wouldn't it just be easier to get a U3 flash-thingy, that's >>supposed to do exactly this? >>http://www.u3.com/ >>I don't have a U3 flash-thingy nor have I ever used one (no need as >>yet), but this is supposed to be what U3 is all about, ie, to let you >>install whole apps on a flash-thingy and transport them all from machine >>to machine wherever you go. >never had one in my pocket. But what I heard is bad: it leaves plenty of >stuff in the registry and you need house cleaning when removing u3. Aha, okay. Lis, never used one, don't know the details, but threw it out as a suggestion. Doesn't sound too "clean" a solution, then. >On top of this, it's proprietary and not opensource. At least, with 7-zip >sfx, it's clean by construction: when you close gvim, unless the process >was killed uncleanly, the temporary extracted version will clean itself and >disappear. Yeh, I love using .zip files for everything, too, right from the first days of 'pkzip'. Hell, got my first start in 'vi' on peecees with PC/VI, an actual port of AT&T 'vi' to DOS. DOS would even grex about a bogus '-i' option when shelling out, because it'd try to shell out with 'sh -i' (interactive). Even used *real* termcaps/terminfo entries, because I was running (from a DOS box!!) real honest-to-B'harni 'vi' on a (Televideo) TV910 and TV910+ through the serial port. Swt. Aaaah, the good ol' days... Anyhoo, yeah, I'd box up all my trusty'n'crusty utils within one or more .zip files with whole directory trees. Bring it to a new machine, unzip to disk or even a RAMdrive, run a batch file to set up the environment variables, and I'm ready to go. >I actually built many sfx this way when I looked into u3 Never looked at U3 in any detail, just heard in passing what it's about. Sounds really nice in theory, which is why I suggested it as an option. Hope you don't mind if I pass along your critique above (name/email redacted, natch; I try to respect other peoples' privacy) to another private list, as U3 was a topic about a month or so ago. Someone liked the idea of being able to put Firefox and other stuff on a flash-thingy and be able to have all his settings, bookmarks, etc., all able to be dragged from machine to machine. Don't know if he went and got a U3 thingy yet, but if this is an issue, he and others should know.
Re: Single-File Vim?
never had one in my pocket. But what I heard is bad: it leaves plenty of stuff in the registry and you need house cleaning when removing u3. On top of this, it's proprietary and not opensource. At least, with 7-zip sfx, it's clean by construction: when you close gvim, unless the process was killed uncleanly, the temporary extracted version will clean itself and disappear. I actually built many sfx this way when I looked into u3 On 9/25/06, Gene Kwiecinski <[EMAIL PROTECTED]> wrote: >Is there a binary compiled for Windows which allows me to run Vim >without any of the runtime files? Long story short, I want something >I can keep online or on a USB key and just copy to the desktop of any >computer I sit at. I saw the entire thread so far, and while there are lots of possible solutions, wouldn't it just be easier to get a U3 flash-thingy, that's supposed to do exactly this? http://www.u3.com/ I don't have a U3 flash-thingy nor have I ever used one (no need as yet), but this is supposed to be what U3 is all about, ie, to let you install whole apps on a flash-thingy and transport them all from machine to machine wherever you go. -- Christian
RE: Single-File Vim?
>Is there a binary compiled for Windows which allows me to run Vim >without any of the runtime files? Long story short, I want something >I can keep online or on a USB key and just copy to the desktop of any >computer I sit at. I saw the entire thread so far, and while there are lots of possible solutions, wouldn't it just be easier to get a U3 flash-thingy, that's supposed to do exactly this? http://www.u3.com/ I don't have a U3 flash-thingy nor have I ever used one (no need as yet), but this is supposed to be what U3 is all about, ie, to let you install whole apps on a flash-thingy and transport them all from machine to machine wherever you go.
Re: Single-File Vim?
I created a new gvim7 sfx for windows. It's ready for mass testing. Feedback is welcome. (I've no other hosting capability for this file yet) http://www.sharebigfile.com/file/9444/gvim7.exe.html fill up the number section and submit to start the download. Happy vimming! On 9/25/06, Christian MICHON <[EMAIL PROTECTED]> wrote: I created a 7-zip self-extractable executable for Windows. When it executes, it extract runtime files in %temp%, it gives you the full power of gvim, and when you close it, the 7z.tmp directory is removed. This is the most portable solution I found/created for Windows. I'll send you the executable privately, not to pollute the list. -- Christian
Re: Single-File Vim?
I created a 7-zip self-extractable executable for Windows. When it executes, it extract runtime files in %temp%, it gives you the full power of gvim, and when you close it, the 7z.tmp directory is removed. This is the most portable solution I found/created for Windows. I'll send you the executable privately, not to pollute the list. On 9/22/06, Dmitriy Yamkovoy <[EMAIL PROTECTED]> wrote: Hi all, Is there a binary compiled for Windows which allows me to run Vim without any of the runtime files? Long story short, I want something I can keep online or on a USB key and just copy to the desktop of any computer I sit at. Thanks, -Dmitriy -- Christian
Re: Single-File Vim?
On Sat, 23 Sep 2006 at 3:38am, A.J.Mechelynck wrote: > Hari Krishna Dara wrote: > > On Sat, 23 Sep 2006 at 1:46am, A.J.Mechelynck wrote: > > > >> Hari Krishna Dara wrote: > >>> On Fri, 22 Sep 2006 at 4:05pm, Dmitriy Yamkovoy wrote: > >>> > Hi all, > Is there a binary compiled for Windows which allows me to run Vim > without any of the runtime files? Long story short, I want something > I can keep online or on a USB key and just copy to the desktop of any > computer I sit at. > > Thanks, > -Dmitriy > >>> I think Vim, when behaving as plain Vi, doesn't require any of the > >>> runtime files. E.g., try starting vim with -u NONE option, and run > >>> :scripts command, you will see that nothing is loaded. The runtime > >>> directory is not essential for using Vim. > >>> > >> indeed, but then you will get > >> - no help (doc/) > >> - no Vim tutor (tutor/) > >> - no syntax highlighting and no colorschemes (syntax/, colors/) > >> - no filetype detection, no filetype plugins and no filetype indenting > >> (filetype.vim, ftplugin/, indent/) > >> - no keymaps (keymap/) > >> - no non-English messages (lang/) > >> - no menus (not even English menus) (menu.vim) > >> - no spell checking (spell/) > >> - no "matchit" matching (macros/matchit.vim) > >> - no directory browsing (plugin/netrwPlugin.vim etc.) > >> - no editing of remote files (plugin/netrwPlugin.vim etc.) > >> - no editing of zipfiles, tarballs, etc. (plugin/gzip.vim, > >> plugin/tarPlugin.vim, plugin/zipPlugin.vim) > >> - no conversion to HTML (syntax/2html.vim) > >> - no ":options" command (optwin.vim) > >> - no vimrc_example.vim (vimrc_example.vim) > >> etc., > >> > >> in other words, you would lose most of the things which, IMHO, make Vim > > great. > > > > First of all, I presumed that that is what OP wanted. Secondly, it is > > still several magnitudes better than plain Vi :) > > > > For the sake of argument, glancing through your list again I find none > > of them to be essential. The only feature out of the list that I use > > most is the "matchit", the rest, I don't either (regularly) use or need. > > Not even the help? Then you've got a better (and more encyclopaedic) memory > than mine. Sorry, that was a mistake. Help is essential for all the newer features and finding options etc. -- Thanks, Hari > > > In fact most of these features didn't even exist in older Vim versions > > (which was still a lot better than Vi). > > I don't remember Vim versions older than 6.1 but I would expect them to have > had a help system. > > > > > PS: I don't need lang, but I would imagine it to be essential for > > someone needing a non-English language. > > > > When typing Russian or Arabic I would also need keymaps, except that I'm using > my own keymaps, in $VIM/vimfiles/keymap or ~/vimfiles/keymap. I also use > syntax colouring whenever available. > > > > Best regards, > Tony. > > __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Re: Single-File Vim?
If your main interest is running something from a USB drive, you might want to give Portable Gvim a try: http://portablegvim.sourceforge.net/ Not "single-file" by any means; it's more-or-less all of (g)vim 7 in completely "portable" form (i.e., it doesn't appear to leave anything behind once it's finished). I've been using it for weeks and love it. On 9/22/06, Dmitriy Yamkovoy <[EMAIL PROTECTED]> wrote: Hi all, Is there a binary compiled for Windows which allows me to run Vim without any of the runtime files? Long story short, I want something I can keep online or on a USB key and just copy to the desktop of any computer I sit at. Thanks, -Dmitriy
Re: Single-File Vim?
On 9/22/06, A.J.Mechelynck <[EMAIL PROTECTED]> wrote: > > For the sake of argument, glancing through your list again I find none > of them to be essential. The only feature out of the list that I use > most is the "matchit", the rest, I don't either (regularly) use or need. Not even the help? Then you've got a better (and more encyclopaedic) memory than mine. > In fact most of these features didn't even exist in older Vim versions > (which was still a lot better than Vi). I don't remember Vim versions older than 6.1 but I would expect them to have had a help system. When I started using Vim 11 years ago, the help was four to five pages long and the help was not displayed in a separate window. Even in those versions, Vim had more functionality than the stock Vi. - Yegappan
RE: Single-File Vim?
> -Original Message- > From: Dmitriy Yamkovoy [mailto:[EMAIL PROTECTED] > Sent: Friday, September 22, 2006 4:06 PM > To: Vim List > Subject: Single-File Vim? > > Hi all, > Is there a binary compiled for Windows which allows me to run > Vim without any of the runtime files? Long story short, I > want something I can keep online or on a USB key and just > copy to the desktop of any computer I sit at. We had a large discussion on this topic probably six months back. A number of us do this (on the Windows platforms). We each had various options on how we do it. I personally: 1. Copied my Vim directory to my USB key. 2. Run a batch file whenever I want to use Vim directly from the USB key. The batch file is simple. It puts the k:\Vim\vim70 in the $PATH (assuming k: is the USB key). No setting of $VIM or $VIMRUNTIME is required. Here is my batch file if anyone is interested. @echo off @rem You can have Windows automatically run a batch file when you open @rem a new command prompt by: @rem HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\AutoRun @rem and set it to run a BAT script of your choice when it @rem starts up. @rem @rem I don't like this option and prefer to setup a shortcut to run: @rem %SYSTEMROOT%\system32\cmd.exe /F:ON /K c:\vim\tools\setupVim.bat @rem The /F:ON enables file/directory completion using CTRL-F. This @rem is useful if you do not have any rights on the machine to modify: @rem HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\CompletionChar @rem and set it to hex 9 (TAB) @rem Determine which drive letter we are executing this from: @rem % 0 = the cmdline used to launch the cmd file. @rem for /f %%i in ('echo %0') do @echo curr_dir=%%~di @rem From HELP FOR (when typed from a cmd.exe prompt) @rem You can now use the following optional syntax: @rem % ~I - expands %I removing any surrounding quotes (") @rem % ~fI- expands %I to a fully qualified path name @rem % ~dI- expands %I to a drive letter only @rem @rem This will set BLAH = the current directory of the batch file @remset BLAH=%~dp0 @for /f %%i in ("%0") do @SET cmd_driveletter=%%~di @SET driveletter=%cmd_driveletter @echo. @echo Executing %0 from this drive: %cmd_driveletter% @echo. @IF %1. NEQ . SET driveletter=%1: @IF NOT EXIST %driveletter%\ SET driveletter=%cmd_driveletter% :SETPATH @echo. @echo. Check if Vim is already in the PATH @echo. @echo on @for %%P in (%PATH%) do @IF EXIST %%P\gvim.exe GOTO ALLREADYINPATH @echo off @echo. @echo.Not already in PATH, adding it @echo. @goto ADDTOPATH @echo. @echo. Check if Vim is already in the PATH @echo. @echo on %driveletter%\Vim\Tools\which.exe gvim.exe @echo off @IF %errorlevel% EQU 0 GOTO ALLREADYINPATH :ADDTOPATH @echo. @echo. Setup path to include $VIM and other standard utilities @echo. @echo on SET PATH=%driveletter%\vim\tools;%driveletter%\Vim\Vim70;%driveletter%\util;%dri veletter%\util\unix_tools;%PATH% @echo off @goto END :ALLREADYINPATH @echo. @echo. Vim is already in the PATH @echo. @goto END :END
Re: Single-File Vim?
Hari Krishna Dara wrote: On Sat, 23 Sep 2006 at 1:46am, A.J.Mechelynck wrote: Hari Krishna Dara wrote: On Fri, 22 Sep 2006 at 4:05pm, Dmitriy Yamkovoy wrote: Hi all, Is there a binary compiled for Windows which allows me to run Vim without any of the runtime files? Long story short, I want something I can keep online or on a USB key and just copy to the desktop of any computer I sit at. Thanks, -Dmitriy I think Vim, when behaving as plain Vi, doesn't require any of the runtime files. E.g., try starting vim with -u NONE option, and run :scripts command, you will see that nothing is loaded. The runtime directory is not essential for using Vim. indeed, but then you will get - no help (doc/) - no Vim tutor (tutor/) - no syntax highlighting and no colorschemes (syntax/, colors/) - no filetype detection, no filetype plugins and no filetype indenting (filetype.vim, ftplugin/, indent/) - no keymaps (keymap/) - no non-English messages (lang/) - no menus (not even English menus) (menu.vim) - no spell checking (spell/) - no "matchit" matching (macros/matchit.vim) - no directory browsing (plugin/netrwPlugin.vim etc.) - no editing of remote files (plugin/netrwPlugin.vim etc.) - no editing of zipfiles, tarballs, etc. (plugin/gzip.vim, plugin/tarPlugin.vim, plugin/zipPlugin.vim) - no conversion to HTML (syntax/2html.vim) - no ":options" command (optwin.vim) - no vimrc_example.vim (vimrc_example.vim) etc., in other words, you would lose most of the things which, IMHO, make Vim great. First of all, I presumed that that is what OP wanted. Secondly, it is still several magnitudes better than plain Vi :) For the sake of argument, glancing through your list again I find none of them to be essential. The only feature out of the list that I use most is the "matchit", the rest, I don't either (regularly) use or need. Not even the help? Then you've got a better (and more encyclopaedic) memory than mine. In fact most of these features didn't even exist in older Vim versions (which was still a lot better than Vi). I don't remember Vim versions older than 6.1 but I would expect them to have had a help system. PS: I don't need lang, but I would imagine it to be essential for someone needing a non-English language. When typing Russian or Arabic I would also need keymaps, except that I'm using my own keymaps, in $VIM/vimfiles/keymap or ~/vimfiles/keymap. I also use syntax colouring whenever available. Best regards, Tony.
Re: Single-File Vim?
Yakov Lerner wrote: [...] Even this is easily fixable: There is some .bat script in vimruntime, which, if you run it, will register the explorer integration in the new place. I forgot the name of the script, but just several weeks ago on this list there was a thread about it. Yakov it's not a script, it's a program: install.exe Best regards, Tony.
Re: Single-File Vim?
Mark Woodward wrote: [...] so would it be possible to have vim on a usb key without modifying environment variables? What I wouldn't give to be able to use vim at work! I've asked and they've told me to use notepad They've got no idea! or assume I don't. They may not be too far from the mark but I do know which is the more powerful by a country mile!! [...] Yes, I think so. Just copy the directory which Vim sees as $VIMRUNTIME (usually C:\Program Files\vim\vim70 or something like that) and everything in it or in its subdirectories, including of course your gvim executable. Or if you want to carry also "additions to vim" which weren't in the distribution, you might want to copy the parent of that $VIMRUNTIME, i.e. $VIM with its vimfiles/ and vim70/ subdirectories, and optionally your _vimrc and/or _gvimrc scripts (which are then placed in $VIM rather than $HOME). You may leave $VIMRUNTIME and $VIM unset, and then when you start (let's say) Z:\vim\vim70\gvim.exe it will see that they are unset, and set $VIM to Z:\vim and $VIMRUNTIME to Z:\vim\vim70 Best regards, Tony.
Re: Single-File Vim?
On Sat, 23 Sep 2006 at 1:46am, A.J.Mechelynck wrote: > Hari Krishna Dara wrote: > > On Fri, 22 Sep 2006 at 4:05pm, Dmitriy Yamkovoy wrote: > > > >> Hi all, > >> Is there a binary compiled for Windows which allows me to run Vim > >> without any of the runtime files? Long story short, I want something > >> I can keep online or on a USB key and just copy to the desktop of any > >> computer I sit at. > >> > >> Thanks, > >> -Dmitriy > > > > I think Vim, when behaving as plain Vi, doesn't require any of the > > runtime files. E.g., try starting vim with -u NONE option, and run > > :scripts command, you will see that nothing is loaded. The runtime > > directory is not essential for using Vim. > > > > indeed, but then you will get > - no help (doc/) > - no Vim tutor (tutor/) > - no syntax highlighting and no colorschemes (syntax/, colors/) > - no filetype detection, no filetype plugins and no filetype indenting > (filetype.vim, ftplugin/, indent/) > - no keymaps (keymap/) > - no non-English messages (lang/) > - no menus (not even English menus) (menu.vim) > - no spell checking (spell/) > - no "matchit" matching (macros/matchit.vim) > - no directory browsing (plugin/netrwPlugin.vim etc.) > - no editing of remote files (plugin/netrwPlugin.vim etc.) > - no editing of zipfiles, tarballs, etc. (plugin/gzip.vim, > plugin/tarPlugin.vim, plugin/zipPlugin.vim) > - no conversion to HTML (syntax/2html.vim) > - no ":options" command (optwin.vim) > - no vimrc_example.vim (vimrc_example.vim) > etc., > > in other words, you would lose most of the things which, IMHO, make Vim great. > First of all, I presumed that that is what OP wanted. Secondly, it is still several magnitudes better than plain Vi :) For the sake of argument, glancing through your list again I find none of them to be essential. The only feature out of the list that I use most is the "matchit", the rest, I don't either (regularly) use or need. In fact most of these features didn't even exist in older Vim versions (which was still a lot better than Vi). PS: I don't need lang, but I would imagine it to be essential for someone needing a non-English language. -- Thanks, Hari __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Re: Single-File Vim?
On 9/23/06, Mark Woodward <[EMAIL PROTECTED]> wrote: Hi all, On Fri, 22 Sep 2006 23:21:13 +0300 "Yakov Lerner" <[EMAIL PROTECTED]> wrote: > On 9/22/06, Dmitriy Yamkovoy <[EMAIL PROTECTED]> wrote: > > Hi all, > > Is there a binary compiled for Windows which allows me to run Vim > > without any of the runtime files? Long story short, I want > > something I can keep online or on a USB key and just copy to the > > desktop of any computer I sit at. > > I assume that if the whole $VIMRUNTIME tree is on your > USB, and you setenv VIMRUNTIME to that location, > vim.exe will happily access whole $VIMRUNTIME tree > from there, no ? Is this good enough ? > > Yakov so would it be possible to have vim on a usb key without modifying environment variables? What I wouldn't give to be able to use vim at work! I've asked and they've told me to use notepad They've got no idea! or assume I don't. They may not be too far from the mark but I do know which is the more powerful by a country mile!! Any windows app that does not rely on registry is "reloctable" (that is, you can move the app tree to another disk and run it from there). I think vim uses registry for just one thing, which is registration of "Edit with vim" with explorer. (I might be wrong). So if you relocate vim to another disk and/or another windows, it will be functional and runnable except for one thing: exlporer integration. Even this is easily fixable: There is some .bat script in vimruntime, which, if you run it, will register the explorer integration in the new place. I forgot the name of the script, but just several weeks ago on this list there was a thread about it. Yakov
Re: Single-File Vim?
Hi all, On Fri, 22 Sep 2006 23:21:13 +0300 "Yakov Lerner" <[EMAIL PROTECTED]> wrote: > On 9/22/06, Dmitriy Yamkovoy <[EMAIL PROTECTED]> wrote: > > Hi all, > > Is there a binary compiled for Windows which allows me to run Vim > > without any of the runtime files? Long story short, I want > > something I can keep online or on a USB key and just copy to the > > desktop of any computer I sit at. > > I assume that if the whole $VIMRUNTIME tree is on your > USB, and you setenv VIMRUNTIME to that location, > vim.exe will happily access whole $VIMRUNTIME tree > from there, no ? Is this good enough ? > > Yakov so would it be possible to have vim on a usb key without modifying environment variables? What I wouldn't give to be able to use vim at work! I've asked and they've told me to use notepad They've got no idea! or assume I don't. They may not be too far from the mark but I do know which is the more powerful by a country mile!! Editpad Pro (http://www.editpadpro.com/) allows this (http://www.editpadpro.com/portable.html) but I'd much prefer a vim solution. -- Mark
Re: Single-File Vim?
indeed, but then you will get - no help (doc/) - no Vim tutor (tutor/) - no syntax highlighting and no colorschemes (syntax/, colors/) - no filetype detection, no filetype plugins and no filetype indenting (filetype.vim, ftplugin/, indent/) - no keymaps (keymap/) - no non-English messages (lang/) - no menus (not even English menus) (menu.vim) - no spell checking (spell/) - no "matchit" matching (macros/matchit.vim) - no directory browsing (plugin/netrwPlugin.vim etc.) - no editing of remote files (plugin/netrwPlugin.vim etc.) - no editing of zipfiles, tarballs, etc. (plugin/gzip.vim, plugin/tarPlugin.vim, plugin/zipPlugin.vim) - no conversion to HTML (syntax/2html.vim) - no ":options" command (optwin.vim) - no vimrc_example.vim (vimrc_example.vim) etc., in other words, you would lose most of the things which, IMHO, make Vim great. - no mswin.vim in other words, it's not *all* bad... :) -tim
Re: Single-File Vim?
Hari Krishna Dara wrote: On Fri, 22 Sep 2006 at 4:05pm, Dmitriy Yamkovoy wrote: Hi all, Is there a binary compiled for Windows which allows me to run Vim without any of the runtime files? Long story short, I want something I can keep online or on a USB key and just copy to the desktop of any computer I sit at. Thanks, -Dmitriy I think Vim, when behaving as plain Vi, doesn't require any of the runtime files. E.g., try starting vim with -u NONE option, and run :scripts command, you will see that nothing is loaded. The runtime directory is not essential for using Vim. indeed, but then you will get - no help (doc/) - no Vim tutor (tutor/) - no syntax highlighting and no colorschemes (syntax/, colors/) - no filetype detection, no filetype plugins and no filetype indenting (filetype.vim, ftplugin/, indent/) - no keymaps (keymap/) - no non-English messages (lang/) - no menus (not even English menus) (menu.vim) - no spell checking (spell/) - no "matchit" matching (macros/matchit.vim) - no directory browsing (plugin/netrwPlugin.vim etc.) - no editing of remote files (plugin/netrwPlugin.vim etc.) - no editing of zipfiles, tarballs, etc. (plugin/gzip.vim, plugin/tarPlugin.vim, plugin/zipPlugin.vim) - no conversion to HTML (syntax/2html.vim) - no ":options" command (optwin.vim) - no vimrc_example.vim (vimrc_example.vim) etc., in other words, you would lose most of the things which, IMHO, make Vim great. Best regards, Tony.
Re: Single-File Vim?
Dmitriy Yamkovoy wrote: Thanks, guys, that helps. I guess if I really want it to be a single file, I could try a self-extracting zip file. I'll tell you how that goes. -Dmitriy Don't reinvent the wheel: Steve Hall compiles, and distributes on SourceForge, self-extracting installers containing the latest (or some very recent) patchlevel of vim.exe and gvim.exe for Windows, with all runtime files: see https://sourceforge.net/project/showfiles.php?group_id=43866&package_id=39721 As I'm writing this, the latest available version is 7.0.106, dated 14 September. Sooner or later, I suppose, a new version (7.0.109 or higher) will be published. Best regards, Tony.
Re: Single-File Vim?
On Fri, 22 Sep 2006 at 4:05pm, Dmitriy Yamkovoy wrote: > Hi all, > Is there a binary compiled for Windows which allows me to run Vim > without any of the runtime files? Long story short, I want something > I can keep online or on a USB key and just copy to the desktop of any > computer I sit at. > > Thanks, > -Dmitriy I think Vim, when behaving as plain Vi, doesn't require any of the runtime files. E.g., try starting vim with -u NONE option, and run :scripts command, you will see that nothing is loaded. The runtime directory is not essential for using Vim. -- HTH, Hari __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Re: Single-File Vim?
Thanks, guys, that helps. I guess if I really want it to be a single file, I could try a self-extracting zip file. I'll tell you how that goes. -Dmitriy On 9/22/06, Gary Johnson <[EMAIL PROTECTED]> wrote: On 2006-09-22, Yakov Lerner <[EMAIL PROTECTED]> wrote: > On 9/22/06, Dmitriy Yamkovoy <[EMAIL PROTECTED]> wrote: > > Hi all, > > Is there a binary compiled for Windows which allows me to run Vim > > without any of the runtime files? Long story short, I want something > > I can keep online or on a USB key and just copy to the desktop of any > > computer I sit at. > > I assume that if the whole $VIMRUNTIME tree is on your > USB, and you setenv VIMRUNTIME to that location, > vim.exe will happily access whole $VIMRUNTIME tree > from there, no ? Is this good enough ? According to :help VIMRUNTIME :help VIM setting $VIM would be a better choice than setting $VIMRUNTIME. Further, ":help VIM" says that on Windows, "Vim tries to use the directory name of the executable" to find VIM. So depending on how Dmitriy intends to invoke the vim on his USB key, it may not be necessary to set $VIM or $VIMRUNTIME at all. Gary -- Gary Johnson | Agilent Technologies [EMAIL PROTECTED] | Wireless Division | Spokane, Washington, USA
Re: Single-File Vim?
On 2006-09-22, Yakov Lerner <[EMAIL PROTECTED]> wrote: > On 9/22/06, Dmitriy Yamkovoy <[EMAIL PROTECTED]> wrote: > > Hi all, > > Is there a binary compiled for Windows which allows me to run Vim > > without any of the runtime files? Long story short, I want something > > I can keep online or on a USB key and just copy to the desktop of any > > computer I sit at. > > I assume that if the whole $VIMRUNTIME tree is on your > USB, and you setenv VIMRUNTIME to that location, > vim.exe will happily access whole $VIMRUNTIME tree > from there, no ? Is this good enough ? According to :help VIMRUNTIME :help VIM setting $VIM would be a better choice than setting $VIMRUNTIME. Further, ":help VIM" says that on Windows, "Vim tries to use the directory name of the executable" to find VIM. So depending on how Dmitriy intends to invoke the vim on his USB key, it may not be necessary to set $VIM or $VIMRUNTIME at all. Gary -- Gary Johnson | Agilent Technologies [EMAIL PROTECTED] | Wireless Division | Spokane, Washington, USA
Re: Single-File Vim?
On 9/22/06, Dmitriy Yamkovoy <[EMAIL PROTECTED]> wrote: Hi all, Is there a binary compiled for Windows which allows me to run Vim without any of the runtime files? Long story short, I want something I can keep online or on a USB key and just copy to the desktop of any computer I sit at. I assume that if the whole $VIMRUNTIME tree is on your USB, and you setenv VIMRUNTIME to that location, vim.exe will happily access whole $VIMRUNTIME tree from there, no ? Is this good enough ? Yakov
Single-File Vim?
Hi all, Is there a binary compiled for Windows which allows me to run Vim without any of the runtime files? Long story short, I want something I can keep online or on a USB key and just copy to the desktop of any computer I sit at. Thanks, -Dmitriy