diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-09-14 16:10:38 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-09-14 16:10:38 +0200 |
commit | 38baa3e63427112d389de5e5942243414d9b1336 (patch) | |
tree | 7593150b028869db073ff226c295a17cf77033c6 /runtime/doc | |
parent | 69e8aa75112a0b12811a4f4d11061adceffbbabc (diff) | |
download | vim-git-38baa3e63427112d389de5e5942243414d9b1336.tar.gz |
patch 8.0.1107: terminal debugger jumps to non-existing filev8.0.1107
Problem: Terminal debugger jumps to non-existing file.
Solution: Check that the file exists. Add an option to make the Vim wide
wide. Fix removing highlight groups.
Diffstat (limited to 'runtime/doc')
-rw-r--r-- | runtime/doc/terminal.txt | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/runtime/doc/terminal.txt b/runtime/doc/terminal.txt index 62182f5d0..2c2275cb2 100644 --- a/runtime/doc/terminal.txt +++ b/runtime/doc/terminal.txt @@ -1,4 +1,4 @@ -*terminal.txt* For Vim version 8.0. Last change: 2017 Sep 10 +*terminal.txt* For Vim version 8.0. Last change: 2017 Sep 13 VIM REFERENCE MANUAL by Bram Moolenaar @@ -85,9 +85,14 @@ Size and color ~ See option 'termsize' for controlling the size of the terminal window. (TODO: scrolling when the terminal is larger than the window) -The terminal uses the 'background' option to decide whether the terminal -window will start with a white or black background. The job running in the -terminal can change the colors. +The job running in the terminal can change the colors. The default foreground +and background colors are taken from Vim, the Normal highlight group. + +For a color terminal the 'background' option is used to decide whether the +terminal window will start with a white or black background. + +To use a different color the Terminal highlight group can be used: > + hi Terminal ctermbg=lightgrey ctermfg=blue guibg=lightgrey guifg=blue Syntax ~ @@ -403,6 +408,12 @@ When 'background' is "dark": hi debugPC term=reverse ctermbg=darkblue guibg=darkblue hi debugBreakpoint term=reverse ctermbg=red guibg=red +To change the width of the Vim window when debugging starts, and use a +vertical split: > + let g:termdebug_wide = 163 +This will set &columns to 163 when :Termdebug is used. The value is restored +when quitting the debugger. + vim:tw=78:ts=8:ft=help:norl: |