Skip to content

Instantly share code, notes, and snippets.

@mminski
Last active March 16, 2020 12:00
Show Gist options
  • Save mminski/bd094d6b2270117414a979bc938246ae to your computer and use it in GitHub Desktop.
Save mminski/bd094d6b2270117414a979bc938246ae to your computer and use it in GitHub Desktop.
#NoTrayIcon
;LWin & c::Send ^c ;copy
;LWin & x::Send ^x ;cut
;LWin & v::Send ^v ;paste
;LWin & a::send ^a ;select all
;LWin & z::send ^z ;undo
;LWin & y::send ^y ;redo
SetCapsLockState, AlwaysOff
CapsLock & i::
if GetKeyState("Shift", "D")
Send +{Up}
else
Send {Up}
return
CapsLock & k::
if GetKeyState("Shift", "D")
Send +{Down}
else
Send {Down}
return
CapsLock & j::
if GetKeyState("Shift", "D")
Send +{Left}
else
Send {Left}
return
CapsLock & l::
if GetKeyState("Shift", "D")
Send +{Right}
else
Send {Right}
return
CapsLock & u::
Send {Home}
return
CapsLock & o::
Send {End}
return
CapsLock & e::
Send {Up}
return
CapsLock & d::
Send {Down}
return
CapsLock & s::
Send {Left}
return
CapsLock & f::
Send {Right}
return
CapsLock & w::
Send {Home}
return
CapsLock & r::
Send {End}
return
return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment