Created
May 6, 2020 07:50
-
-
Save amorphobia/c99b7a7faa717de6c921807420f1f7f8 to your computer and use it in GitHub Desktop.
An AutoHotKey script enables space + h/j/k/l to send arrows and more
This file contains hidden or 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
; Original script xlr-space.ahk (https://sspai.com/post/57157) | |
; Modified by amorphobia (https://github.com/amorphobia) | |
; Space | |
Space::Send {Space} | |
^Space::Send ^{Space} | |
#Space::Send #{Space} | |
^#Space::Send ^#{Space} | |
!Space::Send !{Space} | |
^!Space::Send ^!{Space} | |
; Space + numbers | |
Space & 1::Send {Space} | |
Space & 2::Send {Space}{Space} | |
Space & 3::Send {Space}{Space}{Space} | |
Space & 4::Send {Space}{Space}{Space}{Space} | |
Space & 5::Send {Space}{Space}{Space}{Space}{Space} | |
Space & 6::Send {Space}{Space}{Space}{Space}{Space}{Space} | |
Space & 7::Send {Space}{Space}{Space}{Space}{Space}{Space}{Space} | |
Space & 8::Send {Space}{Space}{Space}{Space}{Space}{Space}{Space}{Space} | |
Space & 9::Send {Space}{Space}{Space}{Space}{Space}{Space}{Space}{Space}{Space} | |
; Space + [] (windows virtual desktop switcher) | |
Space & [::Send ^#{Left} | |
Space & ]::Send ^#{Right} | |
; Space + letters | |
#If GetKeyState("Space", "P") | |
f & k::Send +{Up} | |
f & h::Send +{Left} | |
f & j::Send +{Down} | |
f & l::Send +{Right} | |
d & k::Send ^{Up} | |
d & h::Send ^{Left} | |
d & j::Send ^{Down} | |
d & l::Send ^{Right} | |
g & k::Send ^+{Up} | |
g & h::Send ^+{Left} | |
g & j::Send ^+{Down} | |
g & l::Send ^+{Right} | |
k::Send {Up} | |
h::Send {Left} | |
j::Send {Down} | |
l::Send {Right} | |
u::Send {Home} | |
i::Send {End} | |
o::Send {PgUp} | |
p::Send {PgDn} | |
c::Send ^c | |
x::Send ^x | |
v::Send ^v | |
z::Send ^z | |
y::Send ^y | |
s::Send ^s | |
w::Send ^w | |
t::Send ^t | |
a::Send ^a | |
n::Send ^n | |
Return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment