Skip to content

Instantly share code, notes, and snippets.

@mathieulongtin
Last active October 20, 2020 18:05
Show Gist options
  • Save mathieulongtin/5ebaf4bb08628e0066e67766b9b5e0ae to your computer and use it in GitHub Desktop.
Save mathieulongtin/5ebaf4bb08628e0066e67766b9b5e0ae to your computer and use it in GitHub Desktop.
Use caps lock instead of fn for home/end/pgup/pgdn - Auto Hot Key
; For those laptop that don't have home/end/pgup/pgdn,
; you can now use caps lock + left/right/up/down, respectively.
#SingleInstance force
SetWorkingDir %A_ScriptDir%
CapsLock & Left::Send {Blind}{Home}
CapsLock & Right::Send {Blind}{End}
CapsLock & Up::Send {Blind}{PgUp}
CapsLock & Down::Send {Blind}{PgDn}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment