mkotyk / mintty

Automatically exported from code.google.com/p/mintty
GNU General Public License v3.0
0 stars 0 forks source link

Shift-click to paste #310

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I didn't realize how often I used this shortcut in Rxvt until I switched to 
MinTTY, where it isn't implemented. So at least when in "window mouse mode", it 
would be nice to have the option for shift-left-click to perform a paste 
operation.

Original issue reported on code.google.com by jre...@columbus.rr.com on 18 Jan 2012 at 7:07

GoogleCodeExporter commented 8 years ago
First off, there are of course plenty of other shortcuts for paste:

- middle click
- right click (if enabled on the Mouse page of the options)
- Shift+Insert
- Ctrl+Shift+V (with Ctrl+Shift+letter shortcuts enabled on the Keys page of 
the options)

Secondly, Shift+left-click is a standard shortcut for extending the current 
selection in Windows, KDE and GNOME, and that's what mintty does too.

Finally, of the terminals I've tried, rxvt seems to be the only one with 
Shift+left-click paste. Even rxvt-unicode extends the selection instead, as 
does GNOME Terminal, whereas xterm and KDE Konsole just ignore it.

Therefore, I don't want to add an option for this, but I would be happy to tie 
this behaviour in with the 'Extend' choice for the 'Right click action'. If a 
right click extends, there's no great use in Shift+left-click doing the same, 
so that can then paste instead. Incidentally, rxvt extends the selection on a 
right click too.

I've implemented this in r1253 on trunk. I hope it helps.

Original comment by andy.koppe on 29 Jan 2012 at 9:38

GoogleCodeExporter commented 8 years ago
Taken to 1.0 branch in r1258.

Original comment by andy.koppe on 8 Apr 2012 at 7:37

GoogleCodeExporter commented 8 years ago
Confirmed fixed in 1.1-beta1.

Original comment by andy.koppe on 6 May 2012 at 6:46

GoogleCodeExporter commented 8 years ago

Original comment by andy.koppe on 6 May 2012 at 6:47