Skip to content

Instantly share code, notes, and snippets.

@williballenthin
Created June 25, 2021 16:10
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save williballenthin/e0f3e4d285b07df3b93b63bff88fe1b0 to your computer and use it in GitHub Desktop.
Save williballenthin/e0f3e4d285b07df3b93b63bff88fe1b0 to your computer and use it in GitHub Desktop.
remap CapsLock-H/J/K/L to arrows and similar via AutoHotKey
#NoEnv
#Warn
SendMode Input
SetWorkingDir %A_ScriptDir%
SetCapsLockState AlwaysOff
CapsLock::Send {esc}
CapsLock & j::Send {Down}
CapsLock & k::Send {Up}
CapsLock & h::Send {Left}
CapsLock & l::Send {Right}
CapsLock & f::Send {PgDn}
CapsLock & b::Send {PgUp}
CapsLock & 4::Send {End}
CapsLock & 6::Send {Home}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment