From 012a2adedbe75b934aeb47b9b1c9d7ab0739156c Mon Sep 17 00:00:00 2001 From: hiromi-mi Date: Sat, 4 May 2019 10:36:01 +0900 Subject: [PATCH 1/3] Update gui_w32.{txt,jax} --- doc/gui_w32.jax | 12 +++++++++++- en/gui_w32.txt | 13 ++++++++++++- 2 files changed, 23 insertions(+), 2 deletions(-) diff --git a/doc/gui_w32.jax b/doc/gui_w32.jax index 243e5d65d..61528b0b2 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 Apr 28 VIMリファレンスマニュアル by Bram Moolenaar @@ -31,6 +31,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はフォン diff --git a/en/gui_w32.txt b/en/gui_w32.txt index 15dd275a0..5ce3dc8c4 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 Apr 28 VIM REFERENCE MANUAL by Bram Moolenaar @@ -31,6 +31,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 From 2c07766221467547da287a7b5a91b26dd01d16bd Mon Sep 17 00:00:00 2001 From: hiromi-mi Date: Wed, 8 May 2019 10:49:39 +0900 Subject: [PATCH 2/3] Update#2 --- doc/gui_w32.jax | 5 ++--- en/gui_w32.txt | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/doc/gui_w32.jax b/doc/gui_w32.jax index 61528b0b2..c7e4b2dcc 100644 --- a/doc/gui_w32.jax +++ b/doc/gui_w32.jax @@ -1,4 +1,4 @@ -*gui_w32.txt* For Vim バージョン 8.1. Last change: 2019 Apr 28 +*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* @@ -417,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 5ce3dc8c4..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: 2019 Apr 28 +*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* @@ -414,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 From a741cd762531a8505fb47568ebb0371926eb19f2 Mon Sep 17 00:00:00 2001 From: hiromi-mi Date: Fri, 10 May 2019 22:37:44 +0900 Subject: [PATCH 3/3] =?UTF-8?q?gui=5Fw32:=20s/=E3=81=95=E3=82=8C=E3=81=A6?= =?UTF-8?q?=E3=81=AA=E3=81=91=E3=82=8C=E3=81=B0/=E3=81=95=E3=82=8C?= =?UTF-8?q?=E3=81=A6=E3=81=84=E3=81=AA=E3=81=91=E3=82=8C=E3=81=B0/?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- doc/gui_w32.jax | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/gui_w32.jax b/doc/gui_w32.jax index c7e4b2dcc..6aaf11803 100644 --- a/doc/gui_w32.jax +++ b/doc/gui_w32.jax @@ -35,10 +35,10 @@ GUIは常にWindowsのサブシステムとして実行される。ほとんど スタートできる。 vim -g [options] file .. この機能を動作させるには、gvim.exe が vim.exe と同一のディレクトリに存在し、か -つこの機能を有効にしてコンパイルされてなければならない。 +つこの機能を有効にしてコンパイルされていなければならない。 コンソールバージョンから `:gui` を使うこともできる。しかし、これは実験的な機能 -で、かつこの機能を有効にしてコンパイルされてなければならない。 +で、かつこの機能を有効にしてコンパイルされていなければならない。 セッションファイルを使って現在のコンソール Vim の状態が GUI Vim で再生成される。 Note: 全てのフォント(太字、斜体)は同じ大きさでなければならない!!! そうしない