diff runtime/doc/terminal.txt @ 12455:85ddf8e00595 v8.0.1107

patch 8.0.1107: terminal debugger jumps to non-existing file commit https://github.com/vim/vim/commit/38baa3e63427112d389de5e5942243414d9b1336 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Sep 14 16:10:38 2017 +0200 patch 8.0.1107: terminal debugger jumps to non-existing file 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.
author Christian Brabandt <cb@256bit.org>
date Thu, 14 Sep 2017 16:15:05 +0200
parents 29d21591ad6b
children dfb8254aa735
line wrap: on
line diff
--- 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: