|
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 |
2 | 2 |
|
3 | 3 |
|
4 | 4 | VIM REFERENCE MANUAL by Bram Moolenaar
|
@@ -1537,6 +1537,7 @@ If there is no g:termdebug_config you can use: >
|
1537 | 1537 | <
|
1538 | 1538 | However, the latter form will be deprecated in future releases.
|
1539 | 1539 |
|
| 1540 | + |
1540 | 1541 | Mappings ~
|
1541 | 1542 | The termdebug plugin enables a few default mappings. All those mappings
|
1542 | 1543 | 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
|
1591 | 1592 | and the Var window will be shown side by side with the source code window (and
|
1592 | 1593 | the height options won't be used).
|
1593 | 1594 |
|
| 1595 | + |
1594 | 1596 | Communication ~
|
1595 | 1597 | *termdebug-communication*
|
1596 | 1598 | 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: >
|
1675 | 1677 |
|
1676 | 1678 | However, the latter form will be deprecated in future releases.
|
1677 | 1679 |
|
| 1680 | + |
1678 | 1681 | Change default signs ~
|
1679 | 1682 | *termdebug_signs*
|
1680 | 1683 | 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 |
1682 | 1685 | as "F+", due to we really only have two screen cells for the sign.
|
1683 | 1686 |
|
1684 | 1687 | 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
|
1716 | 1719 | 'columns'. This is useful when the terminal can't be resized by Vim.
|
1717 | 1720 |
|
1718 | 1721 |
|
| 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 | +< |
1719 | 1736 | vim:tw=78:ts=8:noet:ft=help:norl:
|
0 commit comments