From 96db1a5f272ef8165118674306eee165a887e636 Mon Sep 17 00:00:00 2001 From: h-east Date: Mon, 15 Sep 2025 13:13:05 +0900 Subject: [PATCH] Update terminal --- doc/terminal.jax | 6 +++++- en/terminal.txt | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/doc/terminal.jax b/doc/terminal.jax index 1cc737121..ea39371a8 100644 --- a/doc/terminal.jax +++ b/doc/terminal.jax @@ -1,4 +1,4 @@ -*terminal.txt* For Vim バージョン 9.1. Last change: 2025 Sep 02 +*terminal.txt* For Vim バージョン 9.1. Last change: 2025 Sep 14 VIMリファレンスマニュアル by Bram Moolenaar @@ -1402,11 +1402,15 @@ gdb ウィンドウにフォーカスを移しコマンドを入力する。一 :Tbreak {position} 指定位置に一時的なブレークポイントを設定する *:Clear* カーソル位置のブレークポイントを削除する + *:ToggleBreak* カーソル位置にブレークポイントを設定するか、カーソル位置にある + すべてのブレークポイントを削除する *:Step* gdb の "step" コマンドを実行する *:Over* gdb の "next" コマンドを実行する (`:Next` は Vim のコマンド) *:Until* gdb の "until" コマンドを実行する *:Finish* gdb の "finish" コマンドを実行する *:Continue* gdb の "continue" コマンドを実行する + *:RunOrContinue* プログラムが実行中の場合は gdb の "continue" コマンドを実行 + し、そうでない場合はプログラムを実行する *:Stop* プログラムを中断する 'mouse' が設定されている場合、プラグインはこれらのエントリを持つウィンドウツー diff --git a/en/terminal.txt b/en/terminal.txt index eda0b8d48..c25e26597 100644 --- a/en/terminal.txt +++ b/en/terminal.txt @@ -1,4 +1,4 @@ -*terminal.txt* For Vim version 9.1. Last change: 2025 Sep 02 +*terminal.txt* For Vim version 9.1. Last change: 2025 Sep 14 VIM REFERENCE MANUAL by Bram Moolenaar @@ -1427,12 +1427,16 @@ gdb: :Tbreak {position} set a temporary breakpoint at the specified position *:Clear* delete the breakpoint at the cursor position + *:ToggleBreak* set a breakpoint at the cursor position or delete all + breakpoints at the cursor positoin *:Step* execute the gdb "step" command *:Over* execute the gdb "next" command (`:Next` is a Vim command) *:Until* execute the gdb "until" command *:Finish* execute the gdb "finish" command *:Continue* execute the gdb "continue" command + *:RunOrContinue* execute the gdb "continue" command if program is running, + otherwise run the program *:Stop* interrupt the program If 'mouse' is set the plugin adds a window toolbar with these entries: