blob: 6ddc70857c0d98beeac4a4dbaaf7e34464992a0a [file] [log] [blame]
Bram Moolenaar1887deb2007-05-12 15:04:19 +00001README_os2.txt for version 7.1 of Vim: Vi IMproved.
Bram Moolenaar071d4272004-06-13 20:20:40 +00002
3This file explains the installation of Vim on OS/2 systems.
4See "README.txt" for general information about Vim.
5
6
7NOTE: You will need two archives:
Bram Moolenaar1887deb2007-05-12 15:04:19 +00008 vim71rt.zip contains the runtime files (same as for the PC version)
9 vim71os2.zip contains the OS/2 executables
Bram Moolenaar071d4272004-06-13 20:20:40 +000010
111. Go to the directory where you want to put the Vim files. Examples:
12 cd C:\
13 cd D:\editors
14
Bram Moolenaar1887deb2007-05-12 15:04:19 +0000152. Unpack the zip archives. This will create a new directory "vim/vim71",
Bram Moolenaar071d4272004-06-13 20:20:40 +000016 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:
Bram Moolenaar1887deb2007-05-12 15:04:19 +000020 pkunzip -d vim71os2.zip
21 unzip vim71os2.zip
Bram Moolenaar071d4272004-06-13 20:20:40 +000022
23 After you unpacked the files, you can still move the whole directory tree
24 to another location.
25
263. Add the directory where vim.exe is to your path. The simplest is to add a
27 line to your autoexec.bat. Examples:
Bram Moolenaar1887deb2007-05-12 15:04:19 +000028 set path=%path%;C:\vim\vim71
29 set path=%path%;D:\editors\vim\vim71
Bram Moolenaar071d4272004-06-13 20:20:40 +000030
31That's it!
32
33
34Extra 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:
Bram Moolenaar1887deb2007-05-12 15:04:19 +000044 C:\vim\vim71\vim.exe The Vim version 7.1 executable.
45 C:\vim\vim71\doc\*.txt The version 7.1 documentation files.
46 C:\vim\vim71\bugreport.vim A Vim version 7.1 script.
47 C:\vim\vim71\... Other version 7.1 distributed files.
Bram Moolenaar071d4272004-06-13 20:20:40 +000048 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
57For further information, type this inside Vim:
58 :help os2