Bram Moolenaar | 1423b9d | 2006-05-07 15:16:06 +0000 | [diff] [blame^] | 1 | README_os2.txt for version 7.0 of Vim: Vi IMproved. |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 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: |
Bram Moolenaar | 943d2b5 | 2005-12-02 00:50:49 +0000 | [diff] [blame] | 8 | vim70rt.zip contains the runtime files (same as for the PC version) |
| 9 | vim70os2.zip contains the OS/2 executables |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 10 | |
| 11 | 1. Go to the directory where you want to put the Vim files. Examples: |
| 12 | cd C:\ |
| 13 | cd D:\editors |
| 14 | |
Bram Moolenaar | 943d2b5 | 2005-12-02 00:50:49 +0000 | [diff] [blame] | 15 | 2. Unpack the zip archives. This will create a new directory "vim/vim70", |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 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: |
Bram Moolenaar | 943d2b5 | 2005-12-02 00:50:49 +0000 | [diff] [blame] | 20 | pkunzip -d vim70os2.zip |
| 21 | unzip vim70os2.zip |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 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: |
Bram Moolenaar | 943d2b5 | 2005-12-02 00:50:49 +0000 | [diff] [blame] | 28 | set path=%path%;C:\vim\vim70 |
| 29 | set path=%path%;D:\editors\vim\vim70 |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 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: |
Bram Moolenaar | 943d2b5 | 2005-12-02 00:50:49 +0000 | [diff] [blame] | 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. |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 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 |