diff --git a/doc/gui_w32.jax b/doc/gui_w32.jax index 243e5d65d..6aaf11803 100644 --- a/doc/gui_w32.jax +++ b/doc/gui_w32.jax @@ -1,4 +1,4 @@ -*gui_w32.txt* For Vim バージョン 8.1. Last change: 2017 Oct 27 +*gui_w32.txt* For Vim バージョン 8.1. Last change: 2019 May 05 VIMリファレンスマニュアル by Bram Moolenaar @@ -19,7 +19,6 @@ Win32でのVimのグラフィカルユーザーインターフェイス *gui-w32 |gui.txt| GUIの一般的な要素。 |os_win32.txt| Win32特有の要素。 -{Vi にはWindowsのGUIは無い} ============================================================================== 1. GUIを始める *gui-w32-start* @@ -31,6 +30,16 @@ GUIは常にWindowsのサブシステムとして実行される。ほとんど た直後にコマンドプロンプトへ自動的に復帰する。そうでなかったら、"start" コマン ドを使うと良い: > start gvim [options] file .. +< *E988* +コンソールバージョンに |-g| オプションを付けても gvim.exe が実行されて GUI を +スタートできる。 + vim -g [options] file .. +この機能を動作させるには、gvim.exe が vim.exe と同一のディレクトリに存在し、か +つこの機能を有効にしてコンパイルされていなければならない。 + +コンソールバージョンから `:gui` を使うこともできる。しかし、これは実験的な機能 +で、かつこの機能を有効にしてコンパイルされていなければならない。 +セッションファイルを使って現在のコンソール Vim の状態が GUI Vim で再生成される。 Note: 全てのフォント(太字、斜体)は同じ大きさでなければならない!!! そうしない 場合、文字が欠けたり表示がゴチャゴチャになったりしてしまうだろう。Vimはフォン @@ -407,7 +416,7 @@ Vimのウィンドウに1つもしくは複数のファイルをドラッグ&ド *:simalt* *:sim* :sim[alt] {key} Alt と {key} の同時押しをシミュレートする。 - {Vi にはない} {Win32バージョンだけの機能} + {Win32バージョンだけの機能} Note: ":si" は "i" フラグ付きの ":s" になる。 通常、Vimでは使用可能なマッピングを増やすために、Alt-の全ての組み合わせを diff --git a/en/gui_w32.txt b/en/gui_w32.txt index 15dd275a0..d139d5203 100644 --- a/en/gui_w32.txt +++ b/en/gui_w32.txt @@ -1,4 +1,4 @@ -*gui_w32.txt* For Vim version 8.1. Last change: 2017 Oct 27 +*gui_w32.txt* For Vim version 8.1. Last change: 2019 May 05 VIM REFERENCE MANUAL by Bram Moolenaar @@ -19,7 +19,6 @@ Other relevant documentation: |gui.txt| For generic items of the GUI. |os_win32.txt| For Win32 specific items. -{Vi does not have a Windows GUI} ============================================================================== 1. Starting the GUI *gui-w32-start* @@ -31,6 +30,17 @@ The GUI will always run in the Windows subsystem. Mostly shells automatically return with a command prompt after starting gvim. If not, you should use the "start" command: > start gvim [options] file .. +< *E988* +The console version with the |-g| option may also start the GUI by executing +gvim.exe: > + vim -g [options] file .. +To make this work, gvim.exe must exist in the same directory as the vim.exe, +and this feature must be enabled at compile time. + +One may also use `:gui` from the console version. However, this is an +experimental feature and this feature must be enabled at compile time. +It uses a session file to recreate the current state of the console Vim in the +GUI Vim. Note: All fonts (bold, italic) must be of the same size!!! If you don't do 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|. *:simalt* *:sim* :sim[alt] {key} simulate pressing {key} while holding Alt pressed. - {not in Vi} {only for Win32 versions} + {only for Win32 versions} Note: ":si" means ":s" with the "i" flag. Normally, Vim takes control of all Alt- combinations, to increase the