Last active
October 30, 2016 23:43
-
-
Save desfero/c82930d7be5aef7eaae2 to your computer and use it in GitHub Desktop.
AutoHotkey script, to improve typing speed. Feel free to propose new combinations. https://autohotkey.com/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LAlt & j:: | |
If GetKeyState("Ctrl", "P") | |
Send ^{Left} | |
Else | |
Send {Left} | |
Return | |
LAlt & l:: | |
If GetKeyState("Ctrl", "P") | |
Send ^{Right} | |
Else | |
Send {Right} | |
Return | |
LAlt & i:: | |
If GetKeyState("Ctrl", "P") | |
Send ^{Up} | |
Else | |
Send {Up} | |
Return | |
LAlt & k:: | |
If GetKeyState("Ctrl", "P") | |
Send ^{Down} | |
Else | |
Send {Down} | |
Return | |
LAlt & Space:: | |
Send {Esc} | |
Return | |
CapsLock::Backspace | |
; Double Shift: toogle CapsLock | |
Shift:: | |
If (A_PriorHotkey=A_ThisHotkey && A_TimeSincePriorHotkey<400) | |
SetCapsLockState, % GetKeyState("CapsLock", "T")? "Off":"On" | |
Return | |
; -- Browser | |
; Win + B run chrome browser instance | |
#b:: Run chrome | |
; -- Spotify | |
; "CTRL + LEFT" for previous | |
^Left::Media_Prev | |
; "CTRL + RIGHT" for next | |
^Right::Media_Next | |
; "CTRL + SPACE" for pause | |
^Space::Media_Play_Pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment