我只想禁用一些 Windows 10 默认全局热键,以使用此热键运行 Sublime Text 命令。
我有 Windows 32 位 10.0.14393。在 Windows 10 中,我们有许多本机热键。
例如,我想禁用自定义热键Win+K、Win+H和Ctrl+Win+P。
但是,例如,我不想禁用Win+D和Win+R热键。我经常使用这些热键。
{
"keys": ["super+k"],
"command": "paste"
},
Run Code Online (Sandbox Code Playgroud)
我的代码:
#k::return
Run Code Online (Sandbox Code Playgroud)
Win+K global hotkey is disabled for me, but my Sublime Text command paste doesn't run too.
My code:
#IfWinActive ahk_class …Run Code Online (Sandbox Code Playgroud) windows keyboard-shortcuts autohotkey sublime-text-3 windows-10