Created
April 14, 2019 12:54
-
-
Save Karneades/14ab75055e4958925cbb15ebad709dcd to your computer and use it in GitHub Desktop.
AutoHotKey commands for Windows cmd and PowerShell (ctrl+l, ctrl-p, ctrl-n, ctrl-a, ctrl-e)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; When within PS, use Ctrl-L to perform cls | |
#IfWinActive ahk_class ConsoleWindowClass | |
^l::SendInput {Esc}cls{Enter} | |
; When within PS, use Ctrl-P to perform Arrow-UP | |
^p::SendInput {Up} | |
; When within PS, use Ctrl-N to perform Arrow-Down | |
^n::SendInput {Down} | |
; When within PS, use Ctrl-E to perform End | |
^e::SendInput {End} | |
; When within PS, use Ctrl-A to perform Home | |
^a::SendInput {Home} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment