On Sat, 21 Jan 2017, Bram Moolenaar wrote:

Patch 8.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.

Thanks for this, nice to see native support in Vim.  Minor typo fix below.

I'm a little confused by this part in normal.c:

+           case K_PS:  /* bracketed paste works like "a"ppend */

<MiddleMouse> pastes work like insert, as does insert mode <C-R><C-O> -- shouldn't these be consistent?

-Rob


diff --git a/src/term.h b/src/term.h
index 251b475..be06679 100644
--- a/src/term.h
+++ b/src/term.h
@@ -92,8 +92,8 @@ enum SpecialKey
     KS_8B,     /* set background color (RGB) */
     KS_CBE,    /* enable bracketed paste mode */
     KS_CBD,    /* disable bracketed paste mode */
-    KS_CPS,    /* start of brackted paste */
-    KS_CPE     /* end of brackted paste */
+    KS_CPS,    /* start of bracketed paste */
+    KS_CPE     /* end of bracketed paste */
 };

 #define KS_LAST            KS_CPE

--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui