Skip to content

Commit 49cd974

Browse files
authored
Merge pull request #1123 from vampire-yuta/update-terminal.txt
Update terminal.txt
2 parents b7ee02e + 2b063f9 commit 49cd974

File tree

2 files changed

+14
-8
lines changed

2 files changed

+14
-8
lines changed

doc/terminal.jax

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1470,15 +1470,17 @@ gdb と完全互換のあるデバッガのみが使えます。Vim は gdb の
14701470
hi debugBreakpoint term=reverse ctermbg=red guibg=red
14711471

14721472

1473-
ショートカット *termdebug_shortcuts*
1473+
ショートカット ~
1474+
*termdebug_shortcuts*
14741475

14751476
TermDebugSendCommand() 関数を使用して、任意のウィンドウで動作する gdb を制御す
14761477
る独自のショートカット(マッピング)を定義できます。例: >
14771478
map ,w :call TermDebugSendCommand('where')<CR>
14781479
引数は gdb コマンドです。
14791480

14801481

1481-
ポップアップメニュー *termdebug_popup*
1482+
ポップアップメニュー ~
1483+
*termdebug_popup*
14821484

14831485
デフォルトでTermdebugプラグインは 'mousemodel' を "popup_setpos" に設定し、こ
14841486
れらのエントリをポップアップメニューに追加します:
@@ -1491,7 +1493,8 @@ TermDebugSendCommand() 関数を使用して、任意のウィンドウで動作
14911493
let g:termdebug_popup = 0
14921494
14931495
1494-
Vimのウィンドウ幅 *termdebug_wide*
1496+
Vimのウィンドウ幅 ~
1497+
*termdebug_wide*
14951498

14961499
デバッグを開始した際に Vim のウィンドウ幅を変更し、垂直分割を利用するには次の
14971500
ように設定します: >

en/terminal.txt

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1415,7 +1415,7 @@ the "disasm_window_height" entry can be used to set the window height: >
14151415
let g:termdebug_config['disasm_window_height'] = 15
14161416
or, if there is no g:termdebug_config: >
14171417
let g:termdebug_disasm_window = 15
1418-
Any value greater than 1 will set the Asm window height to that value: >
1418+
Any value greater than 1 will set the Asm window height to that value.
14191419

14201420
Communication ~
14211421
*termdebug-communication*
@@ -1469,7 +1469,7 @@ get this error:
14691469
Then your gdb is too old.
14701470

14711471

1472-
Colors~
1472+
Colors ~
14731473
*hl-debugPC* *hl-debugBreakpoint*
14741474
The color of the signs can be adjusted with these highlight groups:
14751475
- debugPC the current position
@@ -1484,15 +1484,17 @@ When 'background' is "dark":
14841484
hi debugBreakpoint term=reverse ctermbg=red guibg=red
14851485

14861486

1487-
Shortcuts *termdebug_shortcuts*
1487+
Shortcuts ~
1488+
*termdebug_shortcuts*
14881489

14891490
You can define your own shortcuts (mappings) to control gdb, that can work in
14901491
any window, using the TermDebugSendCommand() function. Example: >
14911492
map ,w :call TermDebugSendCommand('where')<CR>
14921493
The argument is the gdb command.
14931494

14941495

1495-
Popup menu *termdebug_popup*
1496+
Popup menu ~
1497+
*termdebug_popup*
14961498

14971499
By default the Termdebug plugin sets 'mousemodel' to "popup_setpos" and adds
14981500
these entries to the popup menu:
@@ -1505,7 +1507,8 @@ or if there is no g:termdebug_config: >
15051507
let g:termdebug_popup = 0
15061508
15071509
1508-
Vim window width *termdebug_wide*
1510+
Vim window width ~
1511+
*termdebug_wide*
15091512

15101513
To change the width of the Vim window when debugging starts and use a vertical
15111514
split: >

0 commit comments

Comments
 (0)