Skip to content

Instantly share code, notes, and snippets.

@camb416
Last active January 23, 2024 19:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save camb416/c5599866b9bef103c0656208cdcfceb8 to your computer and use it in GitHub Desktop.
Save camb416/c5599866b9bef103c0656208cdcfceb8 to your computer and use it in GitHub Desktop.
; Cameron's Autohotkey defaults
; place this file in your `shell:startup` folder
; requires autohotkey. Installed in provisioning. See https://gist.github.com/camb416/8109a6547b346658bfc2b39be588099a
; Keep that Caps off
SetCapsLockState, AlwaysOff
; Mac Muscle Memory for Spotlight search
; Maps Cmd-Space to just Win (Start Menu)
LWin & Space::
KeyWait Space
KeyWait LWin
Send {LWin}
return
; Hold Caps and use HJKL for arrows
#If GetKeyState("CapsLock", "P")
h::Left
j::Down
k::Up
l::Right
return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment