Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update gui_w32.{txt,jax} #527

Merged
merged 3 commits into from
May 11, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 12 additions & 3 deletions doc/gui_w32.jax
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -19,7 +19,6 @@ Win32でのVimのグラフィカルユーザーインターフェイス *gui-w32
|gui.txt| GUIの一般的な要素。
|os_win32.txt| Win32特有の要素。

{Vi にはWindowsのGUIは無い}

==============================================================================
1. GUIを始める *gui-w32-start*
Expand All @@ -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はフォン
Expand Down Expand Up @@ -407,7 +416,7 @@ Vimのウィンドウに1つもしくは複数のファイルをドラッグ&ド

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

通常、Vimでは使用可能なマッピングを増やすために、Alt-<Key>の全ての組み合わせを
Expand Down
16 changes: 13 additions & 3 deletions en/gui_w32.txt
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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*
Expand All @@ -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
Expand Down Expand Up @@ -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-<Key> combinations, to increase the
Expand Down