help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to paste under terminal emacs?


From: Yuri Khan
Subject: Re: How to paste under terminal emacs?
Date: Wed, 16 Mar 2016 10:45:17 +0600

On Wed, Mar 16, 2016 at 8:41 AM, Shiyao Ma <i@introo.me> wrote:

> To be specific, I am under iTerm2 using ssh to a linux box.
>
> I often paste stuff using command+v to terminal emacs.
>
> However, looks like emacs takes the paste char by char, which significantly
> makes the paste unnecessarily slow.
>
> How to make emacs take the paste as a whole?

Does iTerm2 implement xterm’s [bracketed paste][1] protocol?

[1]: 
http://invisible-island.net/xterm/ctlseqs/ctlseqs.html#h2-Bracketed-Paste-Mode

Emacs could watch for an ESC [ 2 0 0 ~ sequence and, when it sees one,
stop redrawing until ESC [ 2 0 1 ~ is seen.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]