@@ -11,9 +11,9 @@ The file "feature.h" can be edited to match your preferences. You can skip
1111this, then you will get the default behavior as is documented, which should
1212be fine for most people.
1313
14- With the exception of the last two sections (Windows 3.1 and MS-DOS),
15- this document assumes that you are building Vim for Win32
16- (Windows NT/2000/XP/2003/Vista and Windows 95/98/Me )
14+ With the exception of two sections (Windows 3.1 and MS-DOS), this document
15+ assumes that you are building Vim for Win32 or later.
16+ (Windows 95/98/Me/ NT/2000/XP/2003/Vista/7 )
1717
1818
1919Contents:
@@ -27,6 +27,9 @@ Contents:
27278. Windows 3.1
28289. MS-DOS
2929
30+ 10. Installing after building from sources
31+
32+
3033The currently preferred method is using the free Visual C++ Toolkit 2008
3134|msvc-2008-express|, the produced binary runs on most MS-Windows systems. If
3235you need the executable to run on Windows 98 or ME, use the 2003 one
@@ -409,3 +412,59 @@ will work properly! Esp. handling multi-byte file names.
409412
410413If you get all kinds of strange error messages when compiling, try adding
411414changing the file format from "unix" to "dos".
415+
416+
417+ 10. Installing after building from sources
418+ ==========================================
419+
420+ [provided by Michael Soyka]
421+
422+ After you've built the Vim binaries as described above, you're ready to
423+ install Vim on your system. However, if you've obtained the Vim sources
424+ using Mercurial or by downloading them as a unix tar file, you must first
425+ create a "vim73" directory. If you instead downloaded the sources as
426+ zip files, you can skip this setup as the zip archives already have the
427+ correct directory structure.
428+
429+ A. Create a Vim "runtime" subdirectory named "vim73"
430+ -----------------------------------------------------
431+ If you obtained your Vim sources as zip files, you can skip this step.
432+ Otherwise, continue reading.
433+
434+ Go to the directory that contains the Vim "src" and "runtime"
435+ directories and create a new subdirectory named "vim73".
436+
437+ Copy the "runtime" files into "vim73":
438+ copy runtime\* vim73
439+
440+ B. Copy the new binaries into the "vim73" directory
441+ ----------------------------------------------------
442+ Regardless of how you installed the Vim sources, you need to copy the
443+ new binaries you created above into "vim73":
444+
445+ copy src\*.exe vim73
446+ copy src\GvimExt\gvimext.dll vim73
447+ copy src\xxd\xxd.exe vim73
448+
449+ C. Move the "vim73" directory into the Vim installation subdirectory
450+ ---------------------------------------------------------------------
451+ Move the "vim73" subdirectory into the subdirectory where you want Vim
452+ to be installed. Typically, this subdirectory will be named "vim".
453+ If you already have a "vim73" subdirectory in "vim", delete it first
454+ by running its unstal.exe program.
455+
456+ D. Install Vim
457+ ---------------
458+ "cd" to your Vim installation subdirectory "vim\vim73" and run the
459+ "install.exe" program. It will ask you a number of questions about
460+ how you would like to have your Vim setup. Among these are:
461+ - You can tell it to write a "_vimrc" file with your preferences in the
462+ parent directory.
463+ - It can also install an "Edit with Vim" entry in the Windows Explorer
464+ popup menu.
465+ - You can have it create batch files, so that you can run Vim from the
466+ console or in a shell. You can select one of the directories in your
467+ PATH or add the directory to PATH using the Windows Control Panel.
468+ - Create entries for Vim on the desktop and in the Start menu.
469+
470+ Happy Vimming!
0 commit comments