Skip to content

Commit a06f13e

Browse files
authored
Merge pull request #527 from hiromi-mi/update_gui_w32
Update gui_w32.{txt,jax}
2 parents 0b17044 + a741cd7 commit a06f13e

File tree

2 files changed

+25
-6
lines changed

2 files changed

+25
-6
lines changed

doc/gui_w32.jax

+12-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*gui_w32.txt* For Vim バージョン 8.1. Last change: 2017 Oct 27
1+
*gui_w32.txt* For Vim バージョン 8.1. Last change: 2019 May 05
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -19,7 +19,6 @@ Win32でのVimのグラフィカルユーザーインターフェイス *gui-w32
1919
|gui.txt| GUIの一般的な要素。
2020
|os_win32.txt| Win32特有の要素。
2121

22-
{Vi にはWindowsのGUIは無い}
2322

2423
==============================================================================
2524
1. GUIを始める *gui-w32-start*
@@ -31,6 +30,16 @@ GUIは常にWindowsのサブシステムとして実行される。ほとんど
3130
た直後にコマンドプロンプトへ自動的に復帰する。そうでなかったら、"start" コマン
3231
ドを使うと良い: >
3332
start gvim [options] file ..
33+
< *E988*
34+
コンソールバージョンに |-g| オプションを付けても gvim.exe が実行されて GUI を
35+
スタートできる。
36+
vim -g [options] file ..
37+
この機能を動作させるには、gvim.exe が vim.exe と同一のディレクトリに存在し、か
38+
つこの機能を有効にしてコンパイルされていなければならない。
39+
40+
コンソールバージョンから `:gui` を使うこともできる。しかし、これは実験的な機能
41+
で、かつこの機能を有効にしてコンパイルされていなければならない。
42+
セッションファイルを使って現在のコンソール Vim の状態が GUI Vim で再生成される。
3443

3544
Note: 全てのフォント(太字、斜体)は同じ大きさでなければならない!!! そうしない
3645
場合、文字が欠けたり表示がゴチャゴチャになったりしてしまうだろう。Vimはフォン
@@ -407,7 +416,7 @@ Vimのウィンドウに1つもしくは複数のファイルをドラッグ&ド
407416

408417
*:simalt* *:sim*
409418
:sim[alt] {key} Alt と {key} の同時押しをシミュレートする。
410-
{Vi にはない} {Win32バージョンだけの機能}
419+
{Win32バージョンだけの機能}
411420
Note: ":si" は "i" フラグ付きの ":s" になる。
412421

413422
通常、Vimでは使用可能なマッピングを増やすために、Alt-<Key>の全ての組み合わせを

en/gui_w32.txt

+13-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*gui_w32.txt* For Vim version 8.1. Last change: 2017 Oct 27
1+
*gui_w32.txt* For Vim version 8.1. Last change: 2019 May 05
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -19,7 +19,6 @@ Other relevant documentation:
1919
|gui.txt| For generic items of the GUI.
2020
|os_win32.txt| For Win32 specific items.
2121

22-
{Vi does not have a Windows GUI}
2322

2423
==============================================================================
2524
1. Starting the GUI *gui-w32-start*
@@ -31,6 +30,17 @@ The GUI will always run in the Windows subsystem. Mostly shells automatically
3130
return with a command prompt after starting gvim. If not, you should use the
3231
"start" command: >
3332
start gvim [options] file ..
33+
< *E988*
34+
The console version with the |-g| option may also start the GUI by executing
35+
gvim.exe: >
36+
vim -g [options] file ..
37+
To make this work, gvim.exe must exist in the same directory as the vim.exe,
38+
and this feature must be enabled at compile time.
39+
40+
One may also use `:gui` from the console version. However, this is an
41+
experimental feature and this feature must be enabled at compile time.
42+
It uses a session file to recreate the current state of the console Vim in the
43+
GUI Vim.
3444

3545
Note: All fonts (bold, italic) must be of the same size!!! If you don't do
3646
this, text will disappear or mess up the display. Vim does not check the font
@@ -403,7 +413,7 @@ be opened as normal. See |drag-n-drop|.
403413

404414
*:simalt* *:sim*
405415
:sim[alt] {key} simulate pressing {key} while holding Alt pressed.
406-
{not in Vi} {only for Win32 versions}
416+
{only for Win32 versions}
407417
Note: ":si" means ":s" with the "i" flag.
408418

409419
Normally, Vim takes control of all Alt-<Key> combinations, to increase the

0 commit comments

Comments
 (0)