Skip to content

Instantly share code, notes, and snippets.

@Webbrother
Last active October 23, 2015 09:28
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 Webbrother/57dedf4f88c14708ce51 to your computer and use it in GitHub Desktop.
Save Webbrother/57dedf4f88c14708ce51 to your computer and use it in GitHub Desktop.
SetCapsLockState, alwaysoff
Browser_Back::Home
Browser_Forward::End
Capslock & k::
GetKeyState, state, Control
if state = D
Send ^{Down}
else
Send {Down}
Return
CapsLock & j::
GetKeyState, state, Control
if state = D
Send ^{Left}
else
Send {Left}
Return
CapsLock & l::
GetKeyState, state, Control
if state = D
Send ^{Right}
else
Send {Right}
Return
Capslock & i::
GetKeyState, state, Control
if state = D
Send ^{Up}
else
Send {Up}
Return
Capslock & h::
GetKeyState, state, Control
if state = D
Send ^{Home}
else
Send {Home}
Return
Capslock & `;::
GetKeyState, state, Control
if state = D
Send ^{End}
else
Send {End}
Return
Capslock & n::
GetKeyState, state, Control
if state = D
Send ^{Backspace}
else
Send {Backspace}
Return
Capslock & u::
GetKeyState, state, Control
Send ^+{Left}
Return
Capslock & o::
GetKeyState, state, Control
Send ^+{Right}
Return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment