Copy & Paste in Git Bash/CMD on Windows

On my Mac I can easily copy & paste from and to the terminal window, on my windows machine however ctrl-v just writes ^V to the command prompt. However there is a more comfortable way of copy and pasting to a command prompt window.

To activate copy & paste by mouse follow these steps:

right click on the little window icon on the left side of the titlebar.

select the second to last entry (in my screenshot it is Standardwerte which translates to 'default values').

check the QuickEdit-Mode and Insert-Mode checkboxes save the settings and reopen the command prompt window.

you can now select text by click and drag with your mouse. when you hit the return key the selection gets copied to your clipboard.

pasting into the command prompt window works with a simple right click into the window.

comments powered by Disqus