Skip to content

Commit acf618f

Browse files
committed
Update gui_w32
1 parent c2a6251 commit acf618f

File tree

2 files changed

+14
-17
lines changed

2 files changed

+14
-17
lines changed

doc/gui_w32.jax

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -105,16 +105,14 @@ Vimを全画面で起動したい時には、openのアクションとして次
105105
Vimを "送る" メニューに追加することもできる:
106106
1. Windowsのエクスプローラーを起動する。
107107
2. "送る" のためのディレクトリに移動する:
108-
Windows NT: %windir%\profiles\%user%\sendto (e.g.
109-
"c:\winnt\profiles\mattha\sendto")
110108
Windows XP: C:\Documents and Settings\%user%\SendTo
111109
Windows Vista: C:\Users\%user%\AppData\Roaming\Microsoft\Windows\SendTo .
112110
3. ファイル表示枠の上で右クリックして新規作成→ショートカット。
113111
4. ショートカットウィザードに従ってVIM/GVIMへのフルパスを指定。
114112

115-
Vimにファイルを送ると、Vimはファイルのあるディレクトリに移動する。しかし長い
116-
ディレクトリ名は短い(MS-DOS)形式で表示されてしまうことに注意。これはWindowsの
117-
"送る" の仕組みによる制限である。
113+
Vimにファイルを送ると、Vimはファイルのあるディレクトリに移動する。しかしいくつ
114+
かのWindowsのバージョンでは長いディレクトリ名は短い(MS-DOS)形式で表示されてし
115+
まうことに注意。これはWindowsの "送る" の仕組みによる制限である。
118116

119117
*notepad*
120118
notepad.exe(メモ帳)をgvim.exeに置き換えてしまうこともできるが、これには副作用
@@ -170,8 +168,8 @@ HKLM\Software\Vim\Gvim に DisableEditWithExisting という名前のエント
170168
Vim Shell Extension
171169
HKEY_LOCAL_MACHINE\Software\Vim\Gvim
172170
path {path}\gvim.exe
173-
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\vim 5.6
174-
DisplayName Vim 5.6: Edit with Vim popup menu entry
171+
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\vim 8.2
172+
DisplayName Vim 8.2: Edit with Vim popup menu entry
175173
UninstallString {path}\uninstall.exe
176174

177175
{path}は実行可能ファイルのあるディレクトリパスに置き換える。
@@ -217,15 +215,15 @@ REGEDIT4
217215
[HKEY_CLASSES_ROOT\Applications\gvim.exe\shell\edit]
218216

219217
[HKEY_CLASSES_ROOT\Applications\gvim.exe\shell\edit\command]
220-
@="c:\\vim\\vim62\\gvim.exe \"%1\""
218+
@="c:\\vim\\vim82\\gvim.exe \"%1\""
221219

222220
[HKEY_CLASSES_ROOT\.htm\OpenWithList\gvim.exe]
223221

224222
[HKEY_CLASSES_ROOT\*\OpenWithList\gvim.exe]
225223

226224
----------------------------------------------------------
227225

228-
"c:\\vim\\vim62" をgvim.exeが実際にある場所に変更すること。
226+
"c:\\vim\\vim82" をgvim.exeが実際にある場所に変更すること。
229227

230228
これをアンインストールするにはVimのアンインストーラを使うか "regedit" を使って
231229
手作業でレジストリエントリを削除する。

en/gui_w32.txt

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -106,16 +106,15 @@ when you have got a new version):
106106
You can also install Vim in the "Send To" menu:
107107
1. Start a Windows Explorer
108108
2. Navigate to your sendto directory:
109-
Windows NT: %windir%\profiles\%user%\sendto (e.g.
110-
"c:\winnt\profiles\mattha\sendto")
111109
Windows XP: C:\Documents and Settings\%user%\SendTo
112110
Windows Vista: C:\Users\%user%\AppData\Roaming\Microsoft\Windows\SendTo .
113111
3. Right-click in the file pane and select New->Shortcut
114112
4. Follow the shortcut wizard, using the full path to VIM/GVIM.
115113

116114
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)
118-
form. This is a limitation of the Windows "Send To" mechanism.
115+
however, that any long directory names will appear in their short (MS-DOS)
116+
form on some Windows versions. This is a limitation of the Windows "Send To"
117+
mechanism.
119118

120119
*notepad*
121120
You could replace notepad.exe with gvim.exe, but that has a few side effects.
@@ -169,8 +168,8 @@ you can.
169168
Vim Shell Extension
170169
HKEY_LOCAL_MACHINE\Software\Vim\Gvim
171170
path {path}\gvim.exe
172-
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\vim 5.6
173-
DisplayName Vim 5.6: Edit with Vim popup menu entry
171+
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\vim 8.2
172+
DisplayName Vim 8.2: Edit with Vim popup menu entry
174173
UninstallString {path}\uninstall.exe
175174

176175
Replace {path} with the path that leads to the executable.
@@ -214,15 +213,15 @@ REGEDIT4
214213
[HKEY_CLASSES_ROOT\Applications\gvim.exe\shell\edit]
215214

216215
[HKEY_CLASSES_ROOT\Applications\gvim.exe\shell\edit\command]
217-
@="c:\\vim\\vim62\\gvim.exe \"%1\""
216+
@="c:\\vim\\vim82\\gvim.exe \"%1\""
218217

219218
[HKEY_CLASSES_ROOT\.htm\OpenWithList\gvim.exe]
220219

221220
[HKEY_CLASSES_ROOT\*\OpenWithList\gvim.exe]
222221

223222
----------------------------------------------------------
224223

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.
226225

227226
To uninstall this run the Vim uninstall program or manually delete the
228227
registry entries with "regedit".

0 commit comments

Comments
 (0)