OhmNomNom / thyme

A fork of mintty, for the modern world
GNU General Public License v3.0
0 stars 0 forks source link

Pasting with Ctrl+V #226

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
How can I map Ctrl-v to do a paste operation?
I primarily use rdesktop to windows...
And have middle-click doing a Ctrl-V because thats standard paste in 
windows.... but doesnt appear to work that way for mintty.

Original issue reported on code.google.com by Jurgy...@yahoo.com on 8 Oct 2010 at 6:21

GoogleCodeExporter commented 9 years ago
Mintty's keyboard shortcut for pasting is Shift+Insert (which also works in 
most other Windows applications because it was in the so-called CUA standard 
that Windows followed originally).

Middle click pastes anyway, so I don't understand the bit about mapping it 
Ctrl+V. Alternatively, you can set right click to paste on the mouse page of 
the options.

Ctrl+letter combinations are used to send control characters to applications, 
so it's generally a bad idea for a terminal to intercept them. For example, ^V 
is used in bash to insert the next character "verbatim", i.e. to disable any 
special function it might have. And if Ctrl+C was intercepted for copying, 
processes could no longer be interrupted (unless the 'stty intr' setting was 
changed).

If you do want be able to paste with Ctrl+V anyway, you could do that by 
mapping it to Shift+Insert with AutoHotKey or some such.

Original comment by andy.koppe on 9 Oct 2010 at 5:13

GoogleCodeExporter commented 9 years ago
With current mintty, you can paste with Ctrl+Shift+V if you enable 
"Ctrl+Shift+letter shortcuts" under "Keys" in the options.

Original comment by kevin.m....@gmail.com on 26 Jul 2013 at 7:02