summaryrefslogtreecommitdiffstats
path: root/runtime/doc/term.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-02-02 22:21:29 +0100
committerBram Moolenaar <Bram@vim.org>2017-02-02 22:21:29 +0100
commitfd8983b09c64d9bfa8a4bdc16d72c55fbb22b4dc (patch)
tree1f3d14352db76c73da522a541affc15ca51b15a7 /runtime/doc/term.txt
parent7a073549a3b1e72037a4e98ceb406d057ac9ba50 (diff)
patch 8.0.0296: bracketed paste can only append, not insertv8.0.0296
Problem: Bracketed paste can only append, not insert. Solution: When the cursor is in the first column insert the text.
Diffstat (limited to 'runtime/doc/term.txt')
-rw-r--r--runtime/doc/term.txt9
1 files changed, 7 insertions, 2 deletions
diff --git a/runtime/doc/term.txt b/runtime/doc/term.txt
index b46b399851..0bfe4eb0bf 100644
--- a/runtime/doc/term.txt
+++ b/runtime/doc/term.txt
@@ -1,4 +1,4 @@
-*term.txt* For Vim version 8.0. Last change: 2017 Jan 27
+*term.txt* For Vim version 8.0. Last change: 2017 Feb 02
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -95,7 +95,12 @@ terminal when entering "raw" mode and 't_BD' when leaving "raw" mode. The
terminal is then expected to put 't_PS' before pasted text and 't_PE' after
pasted text. This way Vim can separate text that is pasted from characters
that are typed. The pasted text is handled like when the middle mouse button
-is used.
+is used, it is inserted literally and not interpreted as commands.
+
+When the cursor is in the first column, the pasted text will be inserted
+before it. Otherwise the pasted text is appended after the cursor position.
+This means one cannot paste after the first column. Unfortunately Vim does
+not have a way to tell where the mouse pointer was.
Note that in some situations Vim will not recognize the bracketed paste and
you will get the raw text. In other situations Vim will only get the first