874
|
1 README_os2.txt for version 7.0 of Vim: Vi IMproved.
|
7
|
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:
|
572
|
8 vim70rt.zip contains the runtime files (same as for the PC version)
|
|
9 vim70os2.zip contains the OS/2 executables
|
7
|
10
|
|
11 1. Go to the directory where you want to put the Vim files. Examples:
|
|
12 cd C:\
|
|
13 cd D:\editors
|
|
14
|
572
|
15 2. Unpack the zip archives. This will create a new directory "vim/vim70",
|
7
|
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:
|
572
|
20 pkunzip -d vim70os2.zip
|
|
21 unzip vim70os2.zip
|
7
|
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:
|
572
|
28 set path=%path%;C:\vim\vim70
|
|
29 set path=%path%;D:\editors\vim\vim70
|
7
|
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:
|
572
|
44 C:\vim\vim70\vim.exe The Vim version 7.0 executable.
|
|
45 C:\vim\vim70\doc\*.txt The version 7.0 documentation files.
|
|
46 C:\vim\vim70\bugreport.vim A Vim version 7.0 script.
|
|
47 C:\vim\vim70\... Other version 7.0 distributed files.
|
7
|
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
|