Global shortcut key for paste slowly

977 views
Skip to first unread message

Matt Denwood

unread,
Jan 16, 2012, 7:39:05 AM1/16/12
to iterm2-discuss
Hi

I've recently discovered the paste slowly feature with the ability to
fine-tune the speed and size of paste 'chunks' using defaults write,
which is a godsend for pasting large chunks of code into an R
process. However, I am having problems setting up a Global Shortcut
Key for Paste Slowly and not sure if it is a bug or just me. I have
set up a key binding to Action 'Select Menu Item "Paste Slowly"' but
it just performs a normal paste, not the same thing as selecting
'Paste Slowly' from the Paste Special > Paste Slowly menu. The
'select menu item' box is free-text so I have tried a few variations
like Paste_Slowly, Paste Special > Paste Slowly etc but most of these
don't even do a normal paste. Is this a bug, and if not does anyone
know what the correct text to enter is?

Thanks for your help!

Matt

George Nachman

unread,
Jan 16, 2012, 12:43:01 PM1/16/12
to iterm2-...@googlegroups.com
You found a bug. I'll check in a fix for it now, but it probably won't
make it into the next release unless the current canary build has a
problem. I'll see about imprving the UI for the Select Menu Item
thing, which is pretty hard to use right now.

Marko Milivojevic

unread,
Jan 16, 2012, 4:15:28 PM1/16/12
to iterm2-...@googlegroups.com
Wait wait wait - "paste slowly"? PLEASE, unhide this option! This is
godsend to all of us who deal with routers and switches and their 9600
bps console ports and in many cases their awful operating systems.

Just to illustrate what I mean. SecureCRT has a configuration to pace
large pastes by introducing a configurable inter-character and
inter-line delays. Sometimes by just slowing down the paste with a
50ms delay between the lines means the difference between a good night
sleep and a 10 mile drive in a blizzard (for those who are not lucky
enough to enjoy Northern Californa, that is).

I will submit a feature request if needed, but this is an extremely
useful feature!

Kindest regards,
Marko.

George Nachman

unread,
Jan 16, 2012, 6:14:33 PM1/16/12
to iterm2-...@googlegroups.com
It's not hidden, it's under Edit->Paste Special->Paste Slowly. It is
designed precisely for poor, woe-betrodden souls like you who are
still using unbuffered 16450 UARTs on their 9600 bps modems :).

Matt Denwood

unread,
Jan 18, 2012, 2:37:10 PM1/18/12
to iterm2-discuss
It is incredibly useful - and not just for remote terminal stuff, in
my experience R processes choke if you try to paste too much code in
at once. Better still, tweaking the iTerm defaults write options for
delay and bite size means I can work around the problem with an almost
imperceptible (to me) delay! If there was an option to swap the shift
command v key binding from paste selection to paste slowly that would
be awesome.

Thanks again,

Mat

On Jan 16, 11:14 pm, George Nachman <gnach...@llamas.org> wrote:
> It's not hidden, it's under Edit->Paste Special->Paste Slowly. It is
> designed precisely for poor, woe-betrodden souls like you who are
> still using unbuffered 16450 UARTs on their 9600 bps modems :).
>
>
>
>
>
>
>
> On Mon, Jan 16, 2012 at 1:15 PM, Marko Milivojevic <mar...@gmail.com> wrote:
> > Wait wait wait - "paste slowly"? PLEASE, unhide this option! This is
> > godsend to all of us who deal with routers and switches and their 9600
> > bps console ports and in many cases their awful operating systems.
>
> > Just to illustrate what I mean. SecureCRT has a configuration to pace
> > large pastes by introducing a configurable inter-character and
> > inter-line delays. Sometimes by just slowing down the paste with a
> > 50ms delay between the lines means the difference between a good night
> > sleep and a 10 mile drive in a blizzard (for those who are not lucky
> > enough to enjoy Northern Californa, that is).
>
> > I will submit a feature request if needed, but this is an extremely
> > useful feature!
>
> > Kindest regards,
> > Marko.
>
> > On Mon, Jan 16, 2012 at 09:43, George Nachman <gnach...@llamas.org> wrote:
> >> You found a bug. I'll check in a fix for it now, but it probably won't
> >> make it into the next release unless the current canary build has a
> >> problem. I'll see about imprving the UI for the Select Menu Item
> >> thing, which is pretty hard to use right now.
>

George Nachman

unread,
Jan 18, 2012, 3:53:54 PM1/18/12
to iterm2-...@googlegroups.com
You can remap it in prefs->profiles->keys. Use the "Select Menu Item"
action and enter "Paste Slowly" as the name of the menu item.
Reply all
Reply to author
Forward
0 new messages