Using Unix terminal shortcuts in the Windows command prompt
• http://joshua.poehls.me/2013/using-unix-terminal-shortcuts-in-the-windows-command-prompt/
Unix terminals have a few basic keyboard shortcuts.
CTRL+L
to clear the windowCTRL+D
to close the windowCTRL+V
to paste text
The Windows command prompt doesn’t support these by default but we can fix that with AutoHotkey.
If you don’t already have it installed, you can follow the steps in my blog post.
Add this magic to your AutoHotkey script to enable these shortcuts in the Windows command prompt and PowerShell.
#IfWinActive ahk_class ConsoleWindowClass ^L::SendInput , {Esc}cls{Enter} ^D::SendInput , {Esc}exit{Enter} ^V::SendInput , {Raw}%clipboard% #IfWinActive
Back away from the mouse, my friends.