comparison runtime/doc/gui_w32.txt @ 19116:9b7f90e56753

Update runtime files. Commit: https://github.com/vim/vim/commit/8024f936368336241406137a2fa78ed5ee9000a6 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jan 14 19:29:13 2020 +0100 Update runtime files.
author Bram Moolenaar <Bram@vim.org>
date Tue, 14 Jan 2020 19:30:04 +0100
parents 130acb903dbe
children 350e1d3131d8
comparison
equal deleted inserted replaced
19115:7c7cf6b1e1cf 19116:9b7f90e56753
104 104
105 *send-to-menu* *sendto* 105 *send-to-menu* *sendto*
106 You can also install Vim in the "Send To" menu: 106 You can also install Vim in the "Send To" menu:
107 1. Start a Windows Explorer 107 1. Start a Windows Explorer
108 2. Navigate to your sendto directory: 108 2. Navigate to your sendto directory:
109 Windows NT: %windir%\profiles\%user%\sendto (e.g.
110 "c:\winnt\profiles\mattha\sendto")
111 Windows XP: C:\Documents and Settings\%user%\SendTo 109 Windows XP: C:\Documents and Settings\%user%\SendTo
112 Windows Vista: C:\Users\%user%\AppData\Roaming\Microsoft\Windows\SendTo . 110 Windows Vista: C:\Users\%user%\AppData\Roaming\Microsoft\Windows\SendTo .
113 3. Right-click in the file pane and select New->Shortcut 111 3. Right-click in the file pane and select New->Shortcut
114 4. Follow the shortcut wizard, using the full path to VIM/GVIM. 112 4. Follow the shortcut wizard, using the full path to VIM/GVIM.
115 113
116 When you 'send a file to Vim', Vim changes to that file's directory. Note, 114 When you 'send a file to Vim', Vim changes to that file's directory. Note,
117 however, that any long directory names will appear in their short (MS-Windows) 115 however, that any long directory names will appear in their short (MS-DOS)
118 form. This is a limitation of the Windows "Send To" mechanism. 116 form on some Windows versions. This is a limitation of the Windows "Send To"
117 mechanism.
119 118
120 *notepad* 119 *notepad*
121 You could replace notepad.exe with gvim.exe, but that has a few side effects. 120 You could replace notepad.exe with gvim.exe, but that has a few side effects.
122 Some programs rely on notepad arguments, which are not recognized by Vim. For 121 Some programs rely on notepad arguments, which are not recognized by Vim. For
123 example "notepad -p" is used by some applications to print a file. It's 122 example "notepad -p" is used by some applications to print a file. It's
167 HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved 166 HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved
168 {51EEE242-AD87-11d3-9C1E-0090278BBD99} 167 {51EEE242-AD87-11d3-9C1E-0090278BBD99}
169 Vim Shell Extension 168 Vim Shell Extension
170 HKEY_LOCAL_MACHINE\Software\Vim\Gvim 169 HKEY_LOCAL_MACHINE\Software\Vim\Gvim
171 path {path}\gvim.exe 170 path {path}\gvim.exe
172 HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\vim 5.6 171 HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\vim 8.2
173 DisplayName Vim 5.6: Edit with Vim popup menu entry 172 DisplayName Vim 8.2: Edit with Vim popup menu entry
174 UninstallString {path}\uninstall.exe 173 UninstallString {path}\uninstall.exe
175 174
176 Replace {path} with the path that leads to the executable. 175 Replace {path} with the path that leads to the executable.
177 Don't type {default}, this is the value for the key itself. 176 Don't type {default}, this is the value for the key itself.
178 177
212 [HKEY_CLASSES_ROOT\Applications\gvim.exe\shell] 211 [HKEY_CLASSES_ROOT\Applications\gvim.exe\shell]
213 212
214 [HKEY_CLASSES_ROOT\Applications\gvim.exe\shell\edit] 213 [HKEY_CLASSES_ROOT\Applications\gvim.exe\shell\edit]
215 214
216 [HKEY_CLASSES_ROOT\Applications\gvim.exe\shell\edit\command] 215 [HKEY_CLASSES_ROOT\Applications\gvim.exe\shell\edit\command]
217 @="c:\\vim\\vim62\\gvim.exe \"%1\"" 216 @="c:\\vim\\vim82\\gvim.exe \"%1\""
218 217
219 [HKEY_CLASSES_ROOT\.htm\OpenWithList\gvim.exe] 218 [HKEY_CLASSES_ROOT\.htm\OpenWithList\gvim.exe]
220 219
221 [HKEY_CLASSES_ROOT\*\OpenWithList\gvim.exe] 220 [HKEY_CLASSES_ROOT\*\OpenWithList\gvim.exe]
222 221
223 ---------------------------------------------------------- 222 ----------------------------------------------------------
224 223
225 Change the "c:\\vim\\vim62" bit to where gvim.exe is actually located. 224 Change the "c:\\vim\\vim82" bit to where gvim.exe is actually located.
226 225
227 To uninstall this run the Vim uninstall program or manually delete the 226 To uninstall this run the Vim uninstall program or manually delete the
228 registry entries with "regedit". 227 registry entries with "regedit".
229 228
230 ============================================================================== 229 ==============================================================================