keyboard - AutoHotkey 用 [Right CTRL] + i, j,k,l 模拟箭头键
问题描述
我希望在编写源代码时更有效率。使用箭头键导航文本似乎无效,因为您需要移动右臂。我想使用与 [Right CTRL] 和键 [i]、[j]、[k]、[l] 之一的组合来模拟箭头键。我为 AutoHotkey 创建了一个脚本:
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
>^i::Send {Up}
>^j::Send {Left}
>^k::Send {Down}
>^l::Send {Right}
一切似乎都很好,直到您尝试按单词导航(左 CTRL + 左/右箭头)。我希望 [Right CTRL] + [Left CTRL] + [j] 表现得像 [Left CTRL] + [Left Arrow]。
解决方案
推荐阅读
- batch-file - 仅当适配器当前设置为静态分配时才设置 dns 地址的批处理文件
- php - 如何在 Laravel 中不需要访问令牌的情况下从我的驱动器中读取谷歌表?
- excel - 将 CSV 转换为 XLS 不适用于 Office 2003
- react-native - 在 renderItem 中传递 Navigator 对象
- ios - 启用模块后如何编译我的目标 C++ 项目?
- elasticsearch - elasticsearch查询之间的区别
- hadoop - Hadoop:资源管理器不在本地主机上运行
- javascript - 打开抽屉时,所有按钮在抽屉列表中出现鬼点击
- hp-alm - 自动创建 HP ALM 对象
- c# - 错误:尝试为 ListView 进行内部联接时,“必须在方法跳过之前调用方法 orderby”