Until now, the Ctrl+C and Ctrl+V keyboard shortcuts have already been working in the Windows 10 Command Prompt, but after you entered a Bash prompt, the command wouldn’t work anymore. The reason for this is the fact that the Windows Subsystem for Linux uses a different keyboard input mode which wasn’t able to translate the copy/paste key chords in the VT sequence that’s expected by *NIX tools, shells and so on.
The feature was requested for a long time
Windows 10 build 17643 brings the ability to use copy/paste keyboard shortcut in a Windows 10 Bash prompt. This feature has been requested for a long time, with users saying that “It would be nice to have a keyboard shortcut for pasting into console instead of right-clicking (Or window menu -> edit -> paste).” Now, the feature is available in Windows Command Prompt as a setting.
Test this feature in the latest Redstone 3 Skip Ahead build
Windows’ private eye aka WalkingCat found the highly requested feature. Now, when you head over to a Windows Command Prompt properties, you’ll be able to spot a new setting there called Use Ctrl+Shift+C/V as Copy/Paste that features a description of “Use Ctrl+Shift+C/V as copy/paste shortcuts, regardless of input mode.”
You’ll also see that this setting is unchecked by default, so you have to check it in order to be able to use the Ubuntu-style copy (Ctrl+Shift+C) and Paste (Ctrl+Shift+V) keyboard shortcuts. After you enable the option, you’ll see that these two shortcuts will work in a console wSL Bash prompt and also in Windows Command Prompt.
All you have to do to set this new feature as your default setting each time you open the Windows Command Prompt is to set it in the Command Prompt’s Default’s screen. This way, it will remain enabled every time you open your console as well.
RELATED STORIES TO CHECK OUT: