diff options
| author | erw7 <erw7.github@gmail.com> | 2019-05-23 19:30:28 +0900 |
|---|---|---|
| committer | erw7 <erw7.github@gmail.com> | 2020-02-12 15:30:17 +0900 |
| commit | b015c4741caef37b3f89661e1d5d6a4a033b2856 (patch) | |
| tree | 2b4bd1bc2b78a19474e9c721074e01ada14ad4d3 /runtime/doc | |
| parent | f320db345070221487797ed5ab36249b84eba007 (diff) | |
| download | rneovim-b015c4741caef37b3f89661e1d5d6a4a033b2856.tar.gz rneovim-b015c4741caef37b3f89661e1d5d6a4a033b2856.tar.bz2 rneovim-b015c4741caef37b3f89661e1d5d6a4a033b2856.zip | |
vim-patch:8.1.0071: terminal debugger only works with the terminal feature
Problem: Terminal debugger only works with the terminal feature.
Solution: Make it also work with a prompt buffer. Makes it possible to use
on MS-Windows. Various other improvements. (closes vim/vim#3012)
https://github.com/vim/vim/commit/b3307b5e7e7bd3962b0d5c61a94e638564c146b0
Diffstat (limited to 'runtime/doc')
| -rw-r--r-- | runtime/doc/nvim_terminal_emulator.txt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/runtime/doc/nvim_terminal_emulator.txt b/runtime/doc/nvim_terminal_emulator.txt index 1a5e6421e7..55c5335a60 100644 --- a/runtime/doc/nvim_terminal_emulator.txt +++ b/runtime/doc/nvim_terminal_emulator.txt @@ -307,6 +307,23 @@ Other commands ~ isn't one +Prompt mode ~ + *termdebug-prompt* +When on MS-Windows, gdb will run in a buffer with 'buftype' set to "prompt". +This works slightly differently: +- The gdb window will be in Insert mode while typing commands. Go to Normal + mode with <Esc>, then you can move around in the buffer, copy/paste, etc. + Go back to editing the gdb command with any command that starts Insert mode, + such as `a` or `i`. +- The program being debugged will run in a separate window. On MS-Windows + this is a new console window. On Unix, if the |+terminal| feature is + available a Terminal window will be opened to run the debugged program in. + + *termdebug_use_prompt* +Prompt mode can be used even when the |+terminal| feature is present with: > + let g:termdebug_use_prompt = 1 + + Communication ~ *termdebug-communication* There is another, hidden, buffer, which is used for Vim to communicate with |