From: Yuri Khan <yuri.v.khan@gmail.com>
To: Shiyao Ma <i@introo.me>
Cc: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: Re: How to paste under terminal emacs?
Date: Wed, 16 Mar 2016 10:45:17 +0600 [thread overview]
Message-ID: <CAP_d_8W9ELmvYtHWCJLw0owEXc52nXie0yqwvFQfTUtJkAhH_Q@mail.gmail.com> (raw)
In-Reply-To: <CAJQX3DwpMAGTsg1FD5emaH2oNv1kZKZQa49GGFt0SQee5TLtBw@mail.gmail.com>
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.
next prev parent reply other threads:[~2016-03-16 4:45 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-16 2:41 How to paste under terminal emacs? Shiyao Ma
2016-03-16 4:45 ` Yuri Khan [this message]
2016-03-16 12:34 ` Stefan Monnier
2016-03-17 9:35 ` Shiyao Ma
2016-03-17 13:06 ` Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAP_d_8W9ELmvYtHWCJLw0owEXc52nXie0yqwvFQfTUtJkAhH_Q@mail.gmail.com \
--to=yuri.v.khan@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=i@introo.me \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.