aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authorSean Dewar <seandewar@users.noreply.github.com>2023-08-25 11:59:51 +0100
committerGitHub <noreply@github.com>2023-08-25 11:59:51 +0100
commitd4dc52a835d1d1de86e18744fd6344dd48b726ff (patch)
tree8eef4baec4606906b2d6b35ce7305236fa13f600 /runtime/doc
parent0b0d912763890652c20d219ad92ab8d91195ca02 (diff)
parent0bd82b540eb492c2c41f8b18be9ac749008ee340 (diff)
downloadrneovim-d4dc52a835d1d1de86e18744fd6344dd48b726ff.tar.gz
rneovim-d4dc52a835d1d1de86e18744fd6344dd48b726ff.tar.bz2
rneovim-d4dc52a835d1d1de86e18744fd6344dd48b726ff.zip
Merge pull request #24821 from seandewar/vim-9f2962141514
vim-patch:9f2962141514,f6fb52b667ee,19968fc4ec2c,a76f3221cdcf,2ae7ffe0bc3c,3d3a9152fa6d - Termdebug stuff
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/nvim_terminal_emulator.txt35
1 files changed, 33 insertions, 2 deletions
diff --git a/runtime/doc/nvim_terminal_emulator.txt b/runtime/doc/nvim_terminal_emulator.txt
index bbcc686207..d0d535566d 100644
--- a/runtime/doc/nvim_terminal_emulator.txt
+++ b/runtime/doc/nvim_terminal_emulator.txt
@@ -317,6 +317,18 @@ This is similar to using "print" in the gdb window.
You can usually shorten `:Evaluate` to `:Ev`.
+Navigating stack frames ~
+ *termdebug-frames* *:Frame* *:Up* *:Down*
+ `:Frame` [frame] select frame [frame], which is a frame number,
+ address, or function name (default: current frame)
+ `:Up` [count] go up [count] frames (default: 1; the frame that
+ called the current)
+ `+` same (see |termdebug_map_plus| to disable)
+ `:Down` [count] go down [count] frames (default: 1; the frame called
+ by the current)
+ `-` same (see |termdebug_map_minus| to disable)
+
+
Other commands ~
*termdebug-commands*
*:Gdb* jump to the gdb window
@@ -325,7 +337,9 @@ Other commands ~
isn't one
*:Asm* jump to the window with the disassembly, create it if there
isn't one
-
+ *:Var* jump to the window with the local and argument variables,
+ create it if there isn't one. This window updates whenever the
+ program is stopped
Events ~
*termdebug-events*
@@ -386,11 +400,19 @@ If there is no g:termdebug_config you can use: >vim
let g:termdebug_use_prompt = 1
<
*termdebug_map_K*
-The K key is normally mapped to :Evaluate. If you do not want this use: >vim
+The K key is normally mapped to |:Evaluate|. If you do not want this use: >vim
let g:termdebug_config['map_K'] = 0
If there is no g:termdebug_config you can use: >vim
let g:termdebug_map_K = 0
<
+ *termdebug_map_minus*
+The - key is normally mapped to |:Down|. If you do not want this use: >vim
+ let g:termdebug_config['map_minus'] = 0
+<
+ *termdebug_map_plus*
+The + key is normally mapped to |:Up|. If you do not want this use: >vim
+ let g:termdebug_config['map_plus'] = 0
+<
*termdebug_disasm_window*
If you want the Asm window shown by default, set the "disasm_window" flag to
1. The "disasm_window_height" entry can be used to set the window height: >vim
@@ -400,6 +422,15 @@ If there is no g:termdebug_config you can use: >vim
let g:termdebug_disasm_window = 15
Any value greater than 1 will set the Asm window height to that value.
+ *termdebug_variables_window*
+If you want the Var window shown by default, set the flag to 1.
+the "variables_window_height" entry can be used to set the window height: >vim
+ let g:termdebug_config['variables_window'] = 1
+ let g:termdebug_config['variables_window_height'] = 15
+If there is no g:termdebug_config you can use: >vim
+ let g:termdebug_variables_window = 15
+Any value greater than 1 will set the Var window height to that value.
+
Communication ~
*termdebug-communication*
There is another, hidden, buffer, which is used for Vim to communicate with