问题
Referring to question Windows 7 Map CTRL + j to the Down Arrow Key
How can I map the arrow keys with AutoHotKey like vim?
Ctrl+h = Move left
Ctrl+j = Move down
Ctrl+k = Move up
Ctrl+l = Move right
回答1:
Make an AutoHotKey-script like this:
^h::
Send, {Left down}{Left up}
Return
^j::
Send, {Down down}{Down up}
Return
^k::
Send, {Up down}{Up up}
Return
^l::
Send, {Right down}{Right up}
Return
来源:https://stackoverflow.com/questions/31425458/how-to-map-arrow-keys-with-an-autohotkey-script-like-vim