Skip to content

Instantly share code, notes, and snippets.

@bimlas
Created April 17, 2015 20:01
Show Gist options
  • Save bimlas/99bd39b429964e990070 to your computer and use it in GitHub Desktop.
Save bimlas/99bd39b429964e990070 to your computer and use it in GitHub Desktop.
tcmd capslock::ctrl autohotkey script
SetCapsLockState AlwaysOff
; Global remap.
Capslock::Ctrl
#IfWinActive ahk_class TTOTAL_CMD
{
; Disable remap in Tcmd.
CapsLock::Return
; Check exactly for CapsLock instead of Ctrl.
#If GetKeyState("CapsLock", "P")
k::Send, {Tab}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment