summaryrefslogtreecommitdiffstats
path: root/src/keymap.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-01-21 20:04:22 +0100
committerBram Moolenaar <Bram@vim.org>2017-01-21 20:04:22 +0100
commitec2da36ca48b40c0654b32a8d2c9f52e796daa5e (patch)
treef6dab5f51ef8f54af0f45fa5b79129638f3c2737 /src/keymap.h
parent41baa7983aa81b0343b053e6a672cf8224a10245 (diff)
patch 8.0.0210: no support for bracketed pastev8.0.0210
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.
Diffstat (limited to 'src/keymap.h')
-rw-r--r--src/keymap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/keymap.h b/src/keymap.h
index 1957e9874a..9efecfbefd 100644
--- 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 */