Skip to content

Commit 5184909

Browse files
authored
Merge pull request #1467 from vim-jp/hh-update-terminal
Update terminal.{txt,jax}
2 parents 0bd8649 + 691dfc5 commit 5184909

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

doc/terminal.jax

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*terminal.txt* For Vim バージョン 9.1. Last change: 2024 Feb 21
1+
*terminal.txt* For Vim バージョン 9.1. Last change: 2024 Mar 17
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -303,6 +303,12 @@ Normal ハイライトグループにより決定されます。
303303
! で強制できます。
304304

305305
*terminal-close*
306+
端末ジョブが終了し、[commmand] が指定されなかった場合 (例えば、'shell' コマン
307+
ドが実行された)、端末ウィンドウはデフォルトで閉じられます (ただし、空間を受け
308+
取る次のウィンドウのバッファに 'nobuflisted' オプションが設定されている場合を
309+
除きます。その場合、端末ウィンドウは自動的に閉じられませんが、そのウィンドウで
310+
新しい空のバッファが開かれます)。
311+
306312
端末ウィンドウが閉じられるとき、例えば、シェルが終了し、"++close" 引数が使用さ
307313
れ、これが最後の通常のVimウィンドウである場合、Vimは終了します。これは、通常の
308314
ウィンドウで |:quit| を使用するようなものです。ヘルプウィンドウとプレビューウィ

en/terminal.txt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*terminal.txt* For Vim version 9.1. Last change: 2024 Feb 21
1+
*terminal.txt* For Vim version 9.1. Last change: 2024 Mar 17
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -303,6 +303,12 @@ current window into a terminal window. If there are unsaved changes this
303303
fails, use ! to force, as usual.
304304

305305
*terminal-close*
306+
When the terminal job finishes and no [command] was given (e.g. the 'shell'
307+
command was executed), the terminal window will be closed by default (unless
308+
the buffer in next window receiving the space has the 'nobuflisted' option set,
309+
in which case the terminal window would not be closed automatically, but a new
310+
empty buffer would be opened in that window).
311+
306312
When the terminal window is closed, e.g. when the shell exits and "++close"
307313
argument was used, and this is the last normal Vim window, then Vim will exit.
308314
This is like using |:quit| in a normal window. Help and preview windows are

0 commit comments

Comments
 (0)