Mercurial > vim
comparison runtime/doc/term.txt @ 10813:09eb5fd275e0 v8.0.0296
patch 8.0.0296: bracketed paste can only append, not insert
commit https://github.com/vim/vim/commit/fd8983b09c64d9bfa8a4bdc16d72c55fbb22b4dc
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Feb 2 22:21:29 2017 +0100
patch 8.0.0296: bracketed paste can only append, not insert
Problem: Bracketed paste can only append, not insert.
Solution: When the cursor is in the first column insert the text.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 02 Feb 2017 22:30:04 +0100 |
parents | 523cd59d6db0 |
children | 1218c5353e2b |
comparison
equal
deleted
inserted
replaced
10812:569cb89e14fe | 10813:09eb5fd275e0 |
---|---|
1 *term.txt* For Vim version 8.0. Last change: 2017 Jan 27 | 1 *term.txt* For Vim version 8.0. Last change: 2017 Feb 02 |
2 | 2 |
3 | 3 |
4 VIM REFERENCE MANUAL by Bram Moolenaar | 4 VIM REFERENCE MANUAL by Bram Moolenaar |
5 | 5 |
6 | 6 |
93 When the 't_BE' option is set then 't_BE' will be sent to the | 93 When the 't_BE' option is set then 't_BE' will be sent to the |
94 terminal when entering "raw" mode and 't_BD' when leaving "raw" mode. The | 94 terminal when entering "raw" mode and 't_BD' when leaving "raw" mode. The |
95 terminal is then expected to put 't_PS' before pasted text and 't_PE' after | 95 terminal is then expected to put 't_PS' before pasted text and 't_PE' after |
96 pasted text. This way Vim can separate text that is pasted from characters | 96 pasted text. This way Vim can separate text that is pasted from characters |
97 that are typed. The pasted text is handled like when the middle mouse button | 97 that are typed. The pasted text is handled like when the middle mouse button |
98 is used. | 98 is used, it is inserted literally and not interpreted as commands. |
99 | |
100 When the cursor is in the first column, the pasted text will be inserted | |
101 before it. Otherwise the pasted text is appended after the cursor position. | |
102 This means one cannot paste after the first column. Unfortunately Vim does | |
103 not have a way to tell where the mouse pointer was. | |
99 | 104 |
100 Note that in some situations Vim will not recognize the bracketed paste and | 105 Note that in some situations Vim will not recognize the bracketed paste and |
101 you will get the raw text. In other situations Vim will only get the first | 106 you will get the raw text. In other situations Vim will only get the first |
102 pasted character and drop the rest, e.g. when using the "r" command. If you | 107 pasted character and drop the rest, e.g. when using the "r" command. If you |
103 have a problem with this, disable bracketed paste by putting this in your | 108 have a problem with this, disable bracketed paste by putting this in your |