unable to copy/paste in mingw shell

前端 未结 7 1024
不知归路
不知归路 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条回答
  •  旧时难觅i
    2021-01-30 12:37

    [Alternative] For MINGW64 (mintty 2.7.9) terminal in Windows 10, you can enable "Ctrl+Shift+letter shortcuts" to perform copy with (Ctrl+Shift+c) and paste with (Ctrl+Shift+v).

    To enable the feature:

    1. right-click command window
    2. Click on 'Keys'
    3. Check the box for 'Ctrl+Shift+letter shortcuts'

    When you vi/vim into a file:

    • To copy: highlight the portion you want and click 'y'
    • To cut: highlight the portion you want and click 'd'
    • To paste: Ctrl+Shift+v

提交回复
热议问题