Skip to content

Commit b76c61e

Browse files
authored
Merge pull request #1401 from vim-jp/hh-update-os_win32
Update os_win32.{txt,jax}
2 parents 2235154 + 3239e3f commit b76c61e

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

doc/os_win32.jax

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*os_win32.txt* For Vim バージョン 9.0. Last change: 2022 Sep 18
1+
*os_win32.txt* For Vim バージョン 9.0. Last change: 2023 Dec 04
22

33

44
VIMリファレンスマニュアル by George Reilly
@@ -306,7 +306,7 @@ A. :!を使って外部コマンドを実行している場合、"start" と共
306306
れる。
307307
*windows-asynchronously*
308308
Q. プログラムを非同期で実行したときにそのウィンドウを非表示にするには?
309-
A. あなたの実際の目的に応じて二つの解決方法がある:
309+
A. あなたの実際の目的に応じて 3 つの解決方法がある:
310310
1) /min フラグを使ってプログラムを最小化ウィンドウで実行する (他はそのま
311311
ま)。この方法はコンソールアプリケーションでも GUI アプリケーションでも使
312312
える。
@@ -316,6 +316,9 @@ A. あなたの実際の目的に応じて二つの解決方法がある:
316316
み使うこと。その入力ストリーム (stdin) は \\.\NUL にリダイレクトされるの
317317
で (stdout と stderr も同じ)、入力が使われる場合は EOF エラーが発生する
318318
だろう。
319+
3) 'guioptions' オプション |'go-!'| で '!' フラグを設定する。これにより、
320+
Vim はコンソールウィンドウを開かず、Vim の端末ウィンドウ内で "start" コ
321+
マンドを実行するようになる。
319322

320323
コンソールアプリケーションの例。Exuberant ctags を実行する: >
321324
:!start /min ctags -R .

en/os_win32.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*os_win32.txt* For Vim version 9.0. Last change: 2022 Sep 18
1+
*os_win32.txt* For Vim version 9.0. Last change: 2023 Dec 04
22

33

44
VIM REFERENCE MANUAL by George Reilly
@@ -304,7 +304,7 @@ A. When using :! to run an external command, you can run it with "start". For
304304
treated as the start of the command.
305305
*windows-asynchronously*
306306
Q. How do I avoid getting a window for programs that I run asynchronously?
307-
A. You have two possible solutions depending on what you want:
307+
A. You have three possible solutions depending on what you want:
308308
1) You may use the /min flag in order to run program in a minimized state
309309
with no other changes. It will work equally for console and GUI
310310
applications.
@@ -313,6 +313,9 @@ A. You have two possible solutions depending on what you want:
313313
should use this flag only if the application you run doesn't require any
314314
input. Otherwise it will get an EOF error because its input stream
315315
(stdin) would be redirected to \\.\NUL (stdout and stderr too).
316+
3) Set the '!' flag in the 'guioptions' option |'go-!'|. This will make Vim
317+
run the "start" command inside Vims terminal window and not open a
318+
console window.
316319

317320
Example for a console application, run Exuberant ctags: >
318321
:!start /min ctags -R .

0 commit comments

Comments
 (0)