Mercurial > vim
diff runtime/doc/term.txt @ 31588:e94571ac4134 v9.0.1126
patch 9.0.1126: bracketed paste can be enabled when it is not recognized
Commit: https://github.com/vim/vim/commit/fc966c19f85afc6b856a06c00a93c4fe96280d31
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jan 1 18:04:33 2023 +0000
patch 9.0.1126: bracketed paste can be enabled when it is not recognized
Problem: Bracketed paste can be enabled when pasted text is not recognized.
Solution: Output t_BE only when t_PS and t_PE are set.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 01 Jan 2023 19:15:03 +0100 |
parents | 7d68a90cbf5c |
children | 5ed19049b1e8 |
line wrap: on
line diff
--- a/runtime/doc/term.txt +++ b/runtime/doc/term.txt @@ -1,4 +1,4 @@ -*term.txt* For Vim version 9.0. Last change: 2022 Dec 31 +*term.txt* For Vim version 9.0. Last change: 2023 Jan 01 VIM REFERENCE MANUAL by Bram Moolenaar @@ -118,6 +118,10 @@ 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 |t_PS| or |t_PE| is not set, then |t_BE| will not be used. This is to make +sure that bracketed paste is not enabled when the escape codes surrounding +pasted text cannot be recognized. + If your terminal supports bracketed paste, but the options are not set automatically, you can try using something like this: >