mskyaxl / wsl-terminal

Terminal emulator for Windows Subsystem for Linux (WSL)
MIT License
3.12k stars 159 forks source link

Paste using CTRL+V #84

Closed ghost closed 6 years ago

ghost commented 6 years ago

How can I configure wsl-terminal to paste using CTRL+V?

hiwangzi commented 6 years ago

Try to use Ctrl+Shift+V, it's an alternative for quick pasting.

image

okgolove commented 6 years ago

It works, thx. Sometimes ^[[200~ inserting before my clipboard. Any ideas?

goreliu commented 6 years ago

You can enable Ctrl+Shift+letter shortcuts(https://github.com/goreliu/wsl-terminal/issues/84#issuecomment-371755372) and append this line to etc/minttyrc:

CtrlExchangeShift=yes

Then you can use Ctrl + c and Ctrl + v to copy and paste.

See also https://github.com/mintty/mintty/issues/524 and https://github.com/mintty/mintty/issues/645.

okgolove commented 6 years ago

Yeap, but in this case you'll lose ability to use CTRL+C for SIGINT. Anyway, thank you!