OhmNomNom / thyme

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

Add option for Ctrl+Shift+letter shortcuts #247

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi all,

I started using mintty recently and I had an issue with the default Copy/Paste 
shortcuts .. I have no Insert button on my Mac keyboard :)

So, I thought it would be great to be able to also use another set of shortcuts 
for that, like Shift+Ctrl+C and Shift+Ctrl+V (default shortcuts in Gnome 
Terminal).

Attached is a patch that adds an extra option to mintty to support that. So, if 
you also find that convenient you are more than welcome to include it.

best,
vasilis

Original issue reported on code.google.com by vpap...@gmail.com on 20 Jan 2011 at 7:42

Attachments:

GoogleCodeExporter commented 9 years ago
First off, let's see whether the lack of an Insert key can't be addressed 
without a patch. (Well done on that though.)

The intertubes tell me that the Help key on older Mac keyboards and the Fn key 
on newer ones acts as the Insert key when used with Windows.

Failing that, one can also paste via the context menu shortcuts: Menu+P. There 
the question is: what's the equivalent of the Menu key (found between the right 
Windows and Alt keys on PC keyboards) is on a Mac keyboard? The right 
Command/Apple key perhaps?

Finally, you can also paste with the mouse: middle-click by default, or 
right-click if the relevant setting on the Mouse page of the options is changed 
accordingly. (Obviously neither will work with a one-button mouse.)

Having said all that, I have pondered adding Gnome/KDE style Ctrl+Shift+letter 
shortcuts before, but so far there hadn't been any demand. I'd define them not 
just for Copy/Paste, but also for all the Alt+Fkey shortcuts.

Ctrl+Shift+letter combinations currently send control characters in the 
so-called C1 range (U+80 to U+9F), so these shortcuts do indeed need an option. 
I'll need to work out how to fit it in. (In your patch things get too close to 
the buttons at the bottom.)

Original comment by andy.koppe on 25 Jan 2011 at 6:12

GoogleCodeExporter commented 9 years ago
Implemented in r1123 on trunk.

Do any of the other approaches work?

Original comment by andy.koppe on 10 Feb 2011 at 7:25

GoogleCodeExporter commented 9 years ago

Original comment by andy.koppe on 20 Feb 2011 at 5:51