Mintty: Selectively enable Ctrl+Shift shortcuts

Created on 31 Oct 2017  ·  5Comments  ·  Source: mintty/mintty

I enabled Ctrl+Shift shortcuts to use Ctrl+Shift+C and Ctrl+Shift+V, but the shortcut Ctrl+Shift+R, which resets the terminal, conflicts with bash/zsh reverse history search, so I'd like to disable or remap it. (I know I could remap the shell's one, but I'd rather not.)

question

Most helpful comment

Options...

├─Keys
             ☑ Ctrl+Shift+letter shortcuts

All 5 comments

You could use option CtrlExchangeShift to assign copy/paste to unshifted Ctrl+C/V, but that may not be what you want, also it would reassign Ctrl+R, too (but not Ctrl+Shift+R in that case).
You could also support issue #645 if that's what you want.

I enabled Ctrl+Shift shortcuts to use Ctrl+Shift+C and Ctrl+Shift+V

@nyuszika7h Don't want to derail the issue, but how did you do this? I am looking for using Ctrl+Shift+C and Ctrl+Shift+V in Git bash for Windows - instead of the default Ctrl+Ins, but despite looking/searching for it some time now I cannot find any settings for this.

Options...

├─Keys
             ☑ Ctrl+Shift+letter shortcuts

Released 2.9.1.

To achieve what the OP wanted, it looks like we can now add "KeyFunctions=c:copy;v:paste" to the config and it will work without enabling the terminal reset key. This is a great feature! (Edited comment, when I found out how to do it).

Was this page helpful?
0 / 5 - 0 ratings