aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/nvim_terminal_emulator.txt
diff options
context:
space:
mode:
authorSean Dewar <seandewar@users.noreply.github.com>2023-08-23 09:18:17 +0100
committerSean Dewar <seandewar@users.noreply.github.com>2023-08-25 11:05:18 +0100
commit92ef2b2bcd4f8082e1b05af0663ffef422461e6a (patch)
tree105b9555fbe71d763450bff3086ad90d8327a39c /runtime/doc/nvim_terminal_emulator.txt
parent8aad4b84250a6e4d667bd7d15622164cd95fa1af (diff)
downloadrneovim-92ef2b2bcd4f8082e1b05af0663ffef422461e6a.tar.gz
rneovim-92ef2b2bcd4f8082e1b05af0663ffef422461e6a.tar.bz2
rneovim-92ef2b2bcd4f8082e1b05af0663ffef422461e6a.zip
vim-patch:2ae7ffe0bc3c
runtime(termdebug): add frame related commands (vim/vim#12511) implementing `:Frame`, `:Up` and `:Down' https://github.com/vim/vim/commit/2ae7ffe0bc3c3ed9fcae35ef23a2b78908580201 Use maparg() for saving K as it's since been ported (and supports Lua callbacks and the other API fields). Use the 3 argument variant of mapset(), as the single argument one isn't ported yet (v8.2.4861). Co-authored-by: Simon Sobisch <simonsobisch@web.de>
Diffstat (limited to 'runtime/doc/nvim_terminal_emulator.txt')
-rw-r--r--runtime/doc/nvim_terminal_emulator.txt23
1 files changed, 23 insertions, 0 deletions
diff --git a/runtime/doc/nvim_terminal_emulator.txt b/runtime/doc/nvim_terminal_emulator.txt
index 482b608ef9..ff3a5791ca 100644
--- a/runtime/doc/nvim_terminal_emulator.txt
+++ b/runtime/doc/nvim_terminal_emulator.txt
@@ -317,6 +317,21 @@ This is similar to using "print" in the gdb window.
You can usually shorten `:Evaluate` to `:Ev`.
+Navigation in the Stack ~
+ *termdebug-variables* *:Frame*
+ `:Frame` Select the given frame, using either the frame's
+ stack number, address, or function name.
+ `:Up` Select the frame that called the current one with an
+ optional argument to say how many frames to go up.
+ `+` same (see |termdebug_map_plus| to disable)
+ `:Down` Select the frame called by the current one with
+ an optional argument to say how many frames to go down.
+ `-` same (see |termdebug_map_minus| to disable)
+
+This is similar to using "print" in the gdb window.
+You can usually shorten `:Evaluate` to `:Ev`.
+
+
Other commands ~
*termdebug-commands*
*:Gdb* jump to the gdb window
@@ -393,6 +408,14 @@ The K key is normally mapped to :Evaluate. If you do not want this use: >vim
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