unable to copy/paste in mingw shell

前端 未结 7 1090
不知归路
不知归路 2021-01-30 12:01

I just installed MinGW on Windows and I\'m unable to copy/paste as I am used to on Linux or even PuTTY. What is the trick for copying and pasting text (e.g. from chrome) into Mi

7条回答
  •  半阙折子戏
    2021-01-30 12:40

    This mintty bug CTRL + C & CTRL + V copy paste addresses the issue. It allows normal Control-C, Control-V copy and pasting, but at the expense of changing other control characters. So to stop a process running you need Control-Shift-C, to interrupt it you would need Control-Shift-Z and to send an EOT you need Control-Shift-D. You may find the advantage of windows copy and paste outwights the disadvantages.

    The behavior needs a flag to be set in the .minttyrc file. WHich should look like

    CtrlShiftShortcuts=yes
    CtrlExchangeShift=yes
    

提交回复
热议问题