如何使用像 Vim 这样的 AutoHotKey 脚本映射箭头键? [英] How to map arrow keys with an AutoHotKey script like Vim?
本文介绍了如何使用像 Vim 这样的 AutoHotKey 脚本映射箭头键?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
参考问题 Windows 7 Map CTRL + j到向下箭头键
如何像 vim 一样使用 AutoHotKey 映射箭头键?
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
推荐答案
像这样制作一个 AutoHotKey 脚本:
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
这篇关于如何使用像 Vim 这样的 AutoHotKey 脚本映射箭头键?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文