Mercurial > vim
comparison READMEdir/README_dos.txt @ 18879:af69c9335223
Vim 8.2 release
Commit: https://github.com/vim/vim/commit/98056533b96b6b5d8849641de93185dd7bcadc44
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Dec 12 14:18:35 2019 +0100
Vim 8.2 release
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 12 Dec 2019 14:30:07 +0100 |
parents | 1174611ad715 |
children | 286aa7c0c9ab |
comparison
equal
deleted
inserted
replaced
18878:ef90e5bbb971 | 18879:af69c9335223 |
---|---|
1 README_dos.txt for version 8.1 of Vim: Vi IMproved. | 1 README_dos.txt for version 8.2 of Vim: Vi IMproved. |
2 | 2 |
3 This file explains the installation of Vim on MS-DOS and MS-Windows systems. | 3 This file explains the installation of Vim on MS-DOS and MS-Windows systems. |
4 See "README.txt" for general information about Vim. | 4 See "README.txt" for general information about Vim. |
5 | 5 |
6 There are two ways to install Vim: | 6 There are two ways to install Vim: |
39 cd D:\editors | 39 cd D:\editors |
40 If you already have a "vim" directory, go to the directory in which it is | 40 If you already have a "vim" directory, go to the directory in which it is |
41 located. Check the $VIM setting to see where it points to: | 41 located. Check the $VIM setting to see where it points to: |
42 set VIM | 42 set VIM |
43 For example, if you have | 43 For example, if you have |
44 C:\vim\vim81 | 44 C:\vim\vim82 |
45 do | 45 do |
46 cd C:\ | 46 cd C:\ |
47 Binary and runtime Vim archives are normally unpacked in the same location, | 47 Binary and runtime Vim archives are normally unpacked in the same location, |
48 on top of each other. | 48 on top of each other. |
49 | 49 |
50 2. Unpack the zip archives. This will create a new directory "vim\vim81", | 50 2. Unpack the zip archives. This will create a new directory "vim\vim82", |
51 in which all the distributed Vim files are placed. Since the directory | 51 in which all the distributed Vim files are placed. Since the directory |
52 name includes the version number, it is unlikely that you overwrite | 52 name includes the version number, it is unlikely that you overwrite |
53 existing files. | 53 existing files. |
54 Examples: | 54 Examples: |
55 pkunzip -d gvim81.zip | 55 pkunzip -d gvim82.zip |
56 unzip vim81w32.zip | 56 unzip vim82w32.zip |
57 | 57 |
58 You need to unpack the runtime archive and at least one of the binary | 58 You need to unpack the runtime archive and at least one of the binary |
59 archives. When using more than one binary version, be careful not to | 59 archives. When using more than one binary version, be careful not to |
60 overwrite one version with the other, the names of the executables | 60 overwrite one version with the other, the names of the executables |
61 "vim.exe" and "gvim.exe" are the same. | 61 "vim.exe" and "gvim.exe" are the same. |
67 Only for the 32 bit DOS version on MS-DOS without DPMI support (trying to | 67 Only for the 32 bit DOS version on MS-DOS without DPMI support (trying to |
68 run install.exe will produce an error message): Unpack the CSDPMI4B.ZIP | 68 run install.exe will produce an error message): Unpack the CSDPMI4B.ZIP |
69 archive and follow the instructions in the documentation. | 69 archive and follow the instructions in the documentation. |
70 | 70 |
71 3. Change to the new directory: | 71 3. Change to the new directory: |
72 cd vim\vim81 | 72 cd vim\vim82 |
73 Run the "install.exe" program. It will ask you a number of questions about | 73 Run the "install.exe" program. It will ask you a number of questions about |
74 how you would like to have your Vim setup. Among these are: | 74 how you would like to have your Vim setup. Among these are: |
75 - You can tell it to write a "_vimrc" file with your preferences in the | 75 - You can tell it to write a "_vimrc" file with your preferences in the |
76 parent directory. | 76 parent directory. |
77 - It can also install an "Edit with Vim" entry in the Windows Explorer | 77 - It can also install an "Edit with Vim" entry in the Windows Explorer |
78 popup menu. | 78 popup menu. |
79 - You can have it create batch files, so that you can run Vim from the | 79 - You can have it create batch files, so that you can run Vim from the |
80 console or in a shell. You can select one of the directories in your | 80 console or in a shell. You can select one of the directories in your |
81 $PATH. If you skip this, you can add Vim to the search path manually: | 81 $PATH. If you skip this, you can add Vim to the search path manually: |
82 The simplest is to add a line to your autoexec.bat. Examples: | 82 The simplest is to add a line to your autoexec.bat. Examples: |
83 set path=%path%;C:\vim\vim81 | 83 set path=%path%;C:\vim\vim82 |
84 set path=%path%;D:\editors\vim\vim81 | 84 set path=%path%;D:\editors\vim\vim82 |
85 - Create entries for Vim on the desktop and in the Start menu. | 85 - Create entries for Vim on the desktop and in the Start menu. |
86 | 86 |
87 That's it! | 87 That's it! |
88 | 88 |
89 | 89 |
91 | 91 |
92 - If Vim can't find the runtime files, ":help" won't work and the GUI version | 92 - If Vim can't find the runtime files, ":help" won't work and the GUI version |
93 won't show a menubar. Then you need to set the $VIM environment variable to | 93 won't show a menubar. Then you need to set the $VIM environment variable to |
94 point to the top directory of your Vim files. Example: | 94 point to the top directory of your Vim files. Example: |
95 set VIM=C:\editors\vim | 95 set VIM=C:\editors\vim |
96 Vim version 8.1 will look for your vimrc file in $VIM, and for the runtime | 96 Vim version 8.2 will look for your vimrc file in $VIM, and for the runtime |
97 files in $VIM/vim81. See ":help $VIM" for more information. | 97 files in $VIM/vim82. See ":help $VIM" for more information. |
98 | 98 |
99 - To avoid confusion between distributed files of different versions and your | 99 - To avoid confusion between distributed files of different versions and your |
100 own modified vim scripts, it is recommended to use this directory layout: | 100 own modified vim scripts, it is recommended to use this directory layout: |
101 ("C:\vim" is used here as the root, replace it with the path you use) | 101 ("C:\vim" is used here as the root, replace it with the path you use) |
102 Your own files: | 102 Your own files: |
103 C:\vim\_vimrc Your personal vimrc. | 103 C:\vim\_vimrc Your personal vimrc. |
104 C:\vim\_viminfo Dynamic info for 'viminfo'. | 104 C:\vim\_viminfo Dynamic info for 'viminfo'. |
105 C:\vim\vimfiles\ftplugin\*.vim Filetype plugins | 105 C:\vim\vimfiles\ftplugin\*.vim Filetype plugins |
106 C:\vim\... Other files you made. | 106 C:\vim\... Other files you made. |
107 Distributed files: | 107 Distributed files: |
108 C:\vim\vim81\vim.exe The Vim version 8.1 executable. | 108 C:\vim\vim82\vim.exe The Vim version 8.2 executable. |
109 C:\vim\vim81\doc\*.txt The version 8.1 documentation files. | 109 C:\vim\vim82\doc\*.txt The version 8.2 documentation files. |
110 C:\vim\vim81\bugreport.vim A Vim version 8.1 script. | 110 C:\vim\vim82\bugreport.vim A Vim version 8.2 script. |
111 C:\vim\vim81\... Other version 8.1 distributed files. | 111 C:\vim\vim82\... Other version 8.2 distributed files. |
112 In this case the $VIM environment variable would be set like this: | 112 In this case the $VIM environment variable would be set like this: |
113 set VIM=C:\vim | 113 set VIM=C:\vim |
114 Then $VIMRUNTIME will automatically be set to "$VIM\vim81". Don't add | 114 Then $VIMRUNTIME will automatically be set to "$VIM\vim82". Don't add |
115 "vim81" to $VIM, that won't work. | 115 "vim82" to $VIM, that won't work. |
116 | 116 |
117 - You can put your Vim executable anywhere else. If the executable is not | 117 - You can put your Vim executable anywhere else. If the executable is not |
118 with the other Vim files, you should set $VIM. The simplest is to add a line | 118 with the other Vim files, you should set $VIM. The simplest is to add a line |
119 to your autoexec.bat. Examples: | 119 to your autoexec.bat. Examples: |
120 set VIM=c:\vim | 120 set VIM=c:\vim |
134 The new shortcut will appear on the desktop. | 134 The new shortcut will appear on the desktop. |
135 4. With the mouse pointer on the new shortcut, click right to get a menu. | 135 4. With the mouse pointer on the new shortcut, click right to get a menu. |
136 Select Properties. | 136 Select Properties. |
137 5. In the Program tab, change the "Cmdline" to add "/c" and the name of the | 137 5. In the Program tab, change the "Cmdline" to add "/c" and the name of the |
138 Vim executable. Examples: | 138 Vim executable. Examples: |
139 C:\command.com /c C:\vim\vim81\vim.exe | 139 C:\command.com /c C:\vim\vim82\vim.exe |
140 C:\command.com /c D:\editors\vim\vim81\vim.exe | 140 C:\command.com /c D:\editors\vim\vim82\vim.exe |
141 6. Select the font, window size, etc. that you like. If this isn't | 141 6. Select the font, window size, etc. that you like. If this isn't |
142 possible, select "Advanced" in the Program tab, and deselect "MS-DOS | 142 possible, select "Advanced" in the Program tab, and deselect "MS-DOS |
143 mode". | 143 mode". |
144 7. Click OK. | 144 7. Click OK. |
145 | 145 |