Mercurial > vim
comparison runtime/doc/terminal.txt @ 33735:c6e847116941
runtime(termdebug): improve window handling, shorten var types
Commit: https://github.com/vim/vim/commit/ca48202b6f46cfb40a0d1d80033a2f3e8cb7b813
Author: shane.xb.qian <shane.qian@foxmail.com>
Date: Wed Nov 8 21:59:15 2023 +0100
runtime(termdebug): improve window handling, shorten var types
closes https://github.com/vim/vim/issues/13474
Signed-off-by: shane.xb.qian <shane.qian@foxmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 08 Nov 2023 22:15:03 +0100 |
parents | 55e587f6b02f |
children | 2b9192c31108 |
comparison
equal
deleted
inserted
replaced
33734:55e587f6b02f | 33735:c6e847116941 |
---|---|
1485 1. The "disasm_window_height" entry can be used to set the window height: > | 1485 1. The "disasm_window_height" entry can be used to set the window height: > |
1486 let g:termdebug_config['disasm_window'] = 1 | 1486 let g:termdebug_config['disasm_window'] = 1 |
1487 let g:termdebug_config['disasm_window_height'] = 15 | 1487 let g:termdebug_config['disasm_window_height'] = 15 |
1488 If there is no g:termdebug_config you can use: > | 1488 If there is no g:termdebug_config you can use: > |
1489 let g:termdebug_disasm_window = 15 | 1489 let g:termdebug_disasm_window = 15 |
1490 Any value greater than 1 will set the Asm window height to that value. | 1490 Any value greater than 1 will set the Asm window height to that value. |
1491 If the current window has enough horizontal space, it will be vertically split | |
1492 and the Asm window will be shown side by side with the source code window (and | |
1493 the height option won't be used). | |
1491 | 1494 |
1492 *termdebug_variables_window* | 1495 *termdebug_variables_window* |
1493 If you want the Var window shown by default, set the "variables_window" flag | 1496 If you want the Var window shown by default, set the "variables_window" flag |
1494 to 1. The "variables_window_height" entry can be used to set the window | 1497 to 1. The "variables_window_height" entry can be used to set the window |
1495 height: > | 1498 height: > |
1496 let g:termdebug_config['variables_window'] = 1 | 1499 let g:termdebug_config['variables_window'] = 1 |
1497 let g:termdebug_config['variables_window_height'] = 15 | 1500 let g:termdebug_config['variables_window_height'] = 15 |
1498 If there is no g:termdebug_config you can use: > | 1501 If there is no g:termdebug_config you can use: > |
1499 let g:termdebug_variables_window = 15 | 1502 let g:termdebug_variables_window = 15 |
1500 Any value greater than 1 will set the Var window height to that value. | 1503 Any value greater than 1 will set the Var window height to that value. |
1504 If the current window has enough horizontal space, it will be vertically split | |
1505 and the Var window will be shown side by side with the source code window (and | |
1506 the height options won't be used). | |
1501 | 1507 |
1502 Communication ~ | 1508 Communication ~ |
1503 *termdebug-communication* | 1509 *termdebug-communication* |
1504 There is another, hidden, buffer, which is used for Vim to communicate with | 1510 There is another, hidden, buffer, which is used for Vim to communicate with |
1505 gdb. The buffer name is "gdb communication". Do not delete this buffer, it | 1511 gdb. The buffer name is "gdb communication". Do not delete this buffer, it |