summaryrefslogtreecommitdiffstats
path: root/runtime/doc/term.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-06-19 14:35:59 +0200
committerBram Moolenaar <Bram@vim.org>2018-06-19 14:35:59 +0200
commitd2f3a8b8787333abf2300d38836b196955f10c00 (patch)
tree9c567b7780a62c5b7eb5b8fbfd42d973d6721498 /runtime/doc/term.txt
parentc166927a32fe5c054ad35deecff00aa12c629cf7 (diff)
Update runtime files.
Diffstat (limited to 'runtime/doc/term.txt')
-rw-r--r--runtime/doc/term.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/runtime/doc/term.txt b/runtime/doc/term.txt
index c7579fe8b3..dbf7e6483a 100644
--- a/runtime/doc/term.txt
+++ b/runtime/doc/term.txt
@@ -111,6 +111,16 @@ have a problem with this, disable bracketed paste by putting this in your
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