File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 1
- *terminal.txt* For Vim バージョン 9.1. Last change: 2024 Feb 21
1
+ *terminal.txt* For Vim バージョン 9.1. Last change: 2024 Mar 17
2
2
3
3
4
4
VIMリファレンスマニュアル by Bram Moolenaar
@@ -303,6 +303,12 @@ Normal ハイライトグループにより決定されます。
303
303
! で強制できます。
304
304
305
305
*terminal-close*
306
+ 端末ジョブが終了し、[commmand] が指定されなかった場合 (例えば、'shell' コマン
307
+ ドが実行された)、端末ウィンドウはデフォルトで閉じられます (ただし、空間を受け
308
+ 取る次のウィンドウのバッファに 'nobuflisted' オプションが設定されている場合を
309
+ 除きます。その場合、端末ウィンドウは自動的に閉じられませんが、そのウィンドウで
310
+ 新しい空のバッファが開かれます)。
311
+
306
312
端末ウィンドウが閉じられるとき、例えば、シェルが終了し、"++close" 引数が使用さ
307
313
れ、これが最後の通常のVimウィンドウである場合、Vimは終了します。これは、通常の
308
314
ウィンドウで | :quit | を使用するようなものです。ヘルプウィンドウとプレビューウィ
Original file line number Diff line number Diff line change 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
2
2
3
3
4
4
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -303,6 +303,12 @@ current window into a terminal window. If there are unsaved changes this
303
303
fails, use ! to force, as usual.
304
304
305
305
*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
+
306
312
When the terminal window is closed, e.g. when the shell exits and "++close"
307
313
argument was used, and this is the last normal Vim window, then Vim will exit.
308
314
This is like using | :quit | in a normal window. Help and preview windows are
You can’t perform that action at this time.
0 commit comments