Mercurial > vim
diff src/keymap.h @ 10640:27be410d6d29 v8.0.0210
patch 8.0.0210: no support for bracketed paste
commit https://github.com/vim/vim/commit/ec2da36ca48b40c0654b32a8d2c9f52e796daa5e
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jan 21 20:04:22 2017 +0100
patch 8.0.0210: no support for bracketed paste
Problem: Vim does not support bracketed paste, as implemented by xterm and
other terminals.
Solution: Add t_BE, t_BD, t_PS and t_PE.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 21 Jan 2017 20:15:04 +0100 |
parents | 4aead6a9b7a9 |
children | 2025bec9175f |
line wrap: on
line diff
--- a/src/keymap.h +++ b/src/keymap.h @@ -391,6 +391,8 @@ enum key_extra #define K_KMULTIPLY TERMCAP2KEY('K', '9') /* keypad * */ #define K_KENTER TERMCAP2KEY('K', 'A') /* keypad Enter */ #define K_KPOINT TERMCAP2KEY('K', 'B') /* keypad . or ,*/ +#define K_PS TERMCAP2KEY('P', 'S') /* paste start */ +#define K_PE TERMCAP2KEY('P', 'E') /* paste end */ #define K_K0 TERMCAP2KEY('K', 'C') /* keypad 0 */ #define K_K1 TERMCAP2KEY('K', 'D') /* keypad 1 */