fork for IVI
[profile/ivi/vim.git] / README_os2.txt
1 README_os2.txt for version 7.3 of Vim: Vi IMproved.
2
3 This file explains the installation of Vim on OS/2 systems.
4 See "README.txt" for general information about Vim.
5
6
7 NOTE: You will need two archives:
8   vim73rt.zip   contains the runtime files (same as for the PC version)
9   vim73os2.zip  contains the OS/2 executables
10
11 1. Go to the directory where you want to put the Vim files.  Examples:
12         cd C:\
13         cd D:\editors
14
15 2. Unpack the zip archives.  This will create a new directory "vim/vim73",
16    in which all the distributed Vim files are placed.  Since the directory
17    name includes the version number, it is unlikely that you overwrite
18    existing files.
19    Examples:
20         pkunzip -d vim73os2.zip
21         unzip vim73os2.zip
22
23    After you unpacked the files, you can still move the whole directory tree
24    to another location.
25
26 3. Add the directory where vim.exe is to your path.  The simplest is to add a
27    line to your autoexec.bat.  Examples:
28         set path=%path%;C:\vim\vim73
29         set path=%path%;D:\editors\vim\vim73
30
31 That's it!
32
33
34 Extra remarks:
35
36 - To avoid confusion between distributed files of different versions and your
37   own modified vim scripts, it is recommended to use this directory layout:
38   ("C:\vim" is used here as the root, replace with the path you use)
39   Your own files:
40         C:\vim\_vimrc                   Your personal vimrc.
41         C:\vim\_viminfo                 Dynamic info for 'viminfo'.
42         C:\vim\...                      Other files you made.
43   Distributed files:
44         C:\vim\vim73\vim.exe            The Vim version 7.3 executable.
45         C:\vim\vim73\doc\*.txt          The version 7.3 documentation files.
46         C:\vim\vim73\bugreport.vim      A Vim version 7.3 script.
47         C:\vim\vim73\...                Other version 7.3 distributed files.
48   In this case the $VIM environment variable would be set like this:
49         set VIM=C:\vim
50
51 - You can put your Vim executable anywhere else.  If the executable is not
52   with the other distributed Vim files, you should set $VIM.  The simplest is
53   to add a line to your autoexec.bat.  Examples:
54         set VIM=c:\vim
55         set VIM=d:\editors\vim
56
57 For further information, type this inside Vim:
58         :help os2