diff runtime/doc/term.txt @ 14123:583bf95b6c84

Update runtime files. commit https://github.com/vim/vim/commit/d2f3a8b8787333abf2300d38836b196955f10c00 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jun 19 14:35:59 2018 +0200 Update runtime files.
author Christian Brabandt <cb@256bit.org>
date Tue, 19 Jun 2018 14:45:08 +0200
parents 1174611ad715
children 2f7e67dd088c
line wrap: on
line diff
--- a/runtime/doc/term.txt
+++ b/runtime/doc/term.txt
@@ -111,6 +111,16 @@ have a problem with this, disable bracke
 If this is done while Vim is running the 't_BD' will be sent to the terminal
 to disable bracketed paste.
 
+If your terminal supports bracketed paste, but the options are not set
+automatically, you can try using something like this: >
+
+	if &term =~ "screen"
+	  let &t_BE = "\e[?2004h"
+	  let &t_BD = "\e[?2004l"
+	  exec "set t_PS=\e[200~"
+	  exec "set t_PE=\e[201~"
+	endif
+<
 							*cs7-problem*
 Note: If the terminal settings are changed after running Vim, you might have
 an illegal combination of settings.  This has been reported on Solaris 2.5