Skip to content

Commit 2967ff4

Browse files
committed
Update terminal.{txt,jax}
1 parent 259c675 commit 2967ff4

File tree

2 files changed

+38
-3
lines changed

2 files changed

+38
-3
lines changed

doc/terminal.jax

Lines changed: 19 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 Jul 28
1+
*terminal.txt* For Vim バージョン 9.1. Last change: 2024 Oct 27
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -1509,6 +1509,7 @@ g:termdebug_config がない場合は、以下を使用できる: >
15091509
<
15101510
ただし、後者の形式は将来のリリースでは非推奨になる。
15111511

1512+
15121513
マッピング ~
15131514
termdebug プラグインは、いくつかのデフォルトマッピングを有効にする。
15141515
termdebug セッションが終了すると、これらのマッピングはすべて元の値にリセットさ
@@ -1565,6 +1566,7 @@ g:termdebug_config がない場合は、以下を使用できる: >
15651566
Var ウィンドウがソースコードウィンドウと並べて表示される (高さのオプションは使
15661567
用されない)。
15671568

1569+
15681570
通信 ~
15691571
*termdebug-communication*
15701572
Vim が gdb と通信するために他に隠されたバッファが使用される。バッファ名は "gdb
@@ -1609,6 +1611,7 @@ gdb と完全互換のあるデバッガのみが使える。Vim は gdb の操
16091611
Undefined command: "new-ui". Try "help".~
16101612
あなたの gdb が古すぎる。
16111613

1614+
16121615
カラー ~
16131616
*hl-debugPC* *hl-debugBreakpoint*
16141617
目印の色は以下のハイライトグループで調整できる:
@@ -1646,6 +1649,7 @@ g:termdebug_config がない場合は、以下を使用できる: >
16461649
16471650
ただし、後者の形式は将来のリリースでは非推奨になる。
16481651

1652+
16491653
デフォルトの目印の変更 ~
16501654
*termdebug_signs*
16511655
Termdebug は、signcolumn のブレークポイント ID の 16 進数を使用してブレークポ
@@ -1688,4 +1692,18 @@ g:termdebug_config がない場合は、以下を使用できる: >
16881692
Vimによってサイズ変更できない場合に便利である。
16891693

16901694

1695+
カーソル位置のポップアップウィンドウで評価する ~
1696+
*termdebug_evaluate_in_popup*
1697+
デフォルトでは、|:Evaluate| は単に出力をエコーする。エンティティが大きい場合、
1698+
読みにくくなったり、切り捨てられたりする可能性がある。
1699+
あるいは、評価結果を現在のカーソル位置のポップアップウィンドウに出力することも
1700+
できる: >
1701+
let g:termdebug_config['evaluate_in_popup'] = v:true
1702+
これは "one-shot" 方式でも使用できる: >
1703+
func OnCursorHold()
1704+
let g:termdebug_config['evaluate_in_popup'] = v:true
1705+
:Evaluate
1706+
let g:termdebug_config['evaluate_in_popup'] = v:false
1707+
endfunc
1708+
<
16911709
vim:tw=78:ts=8:noet:ft=help:norl:

en/terminal.txt

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*terminal.txt* For Vim version 9.1. Last change: 2024 Jul 28
1+
*terminal.txt* For Vim version 9.1. Last change: 2024 Oct 27
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1537,6 +1537,7 @@ If there is no g:termdebug_config you can use: >
15371537
<
15381538
However, the latter form will be deprecated in future releases.
15391539

1540+
15401541
Mappings ~
15411542
The termdebug plugin enables a few default mappings. All those mappings
15421543
are reset to their original values once the termdebug session concludes.
@@ -1591,6 +1592,7 @@ If the current window has enough horizontal space, it will be vertically split
15911592
and the Var window will be shown side by side with the source code window (and
15921593
the height options won't be used).
15931594

1595+
15941596
Communication ~
15951597
*termdebug-communication*
15961598
There is another, hidden, buffer, which is used for Vim to communicate with
@@ -1675,10 +1677,11 @@ If there is no g:termdebug_config you can use: >
16751677
16761678
However, the latter form will be deprecated in future releases.
16771679

1680+
16781681
Change default signs ~
16791682
*termdebug_signs*
16801683
Termdebug uses the hex number of the breakpoint ID in the signcolumn to
1681-
represent breakpoints. if it is greater than "0xFF", then it will be displayed
1684+
represent breakpoints. If it is greater than "0xFF", then it will be displayed
16821685
as "F+", due to we really only have two screen cells for the sign.
16831686

16841687
If you want to customize the breakpoint signs: >
@@ -1716,4 +1719,18 @@ Set the wide value to 1 to use a vertical split without ever changing
17161719
'columns'. This is useful when the terminal can't be resized by Vim.
17171720

17181721

1722+
Evaluate in Popup Window at Cursor ~
1723+
*termdebug_evaluate_in_popup*
1724+
By default |:Evaluate| will simply echo its output. For larger entities this
1725+
might become difficult to read or even truncated.
1726+
Alternatively, the evaluation result may be output into a popup window at the
1727+
current cursor position: >
1728+
let g:termdebug_config['evaluate_in_popup'] = v:true
1729+
This can also be used in a "one-shot" manner: >
1730+
func OnCursorHold()
1731+
let g:termdebug_config['evaluate_in_popup'] = v:true
1732+
:Evaluate
1733+
let g:termdebug_config['evaluate_in_popup'] = v:false
1734+
endfunc
1735+
<
17191736
vim:tw=78:ts=8:noet:ft=help:norl:

0 commit comments

Comments
 (0)