MyKeymap
MyKeymap copied to clipboard
开一个仓库收集配置方案和ahk脚本
可以由owner或热心网友审核后挑选比较有代表性的以及文档说明清晰的合入仓库. 这样新用户在使用软件时有更多的配建方案可以选择 以下补充一个我自己的映射方案,侧重点在文字编辑和窗口切换,使用注册表将Capslock和左Ctrl互换后使用体验更佳:
{
"keymaps": [
{
"id": 18,
"name": "引号模式",
"enable": true,
"hotkey": "'",
"parentID": 0,
"delay": 0,
"hotkeys": {
"*-": [
{
"windowGroupID": 0,
"actionTypeID": 2,
"comment": "label:2401",
"actionValueID": 9
}
],
"*2": [
{
"windowGroupID": 0,
"actionTypeID": 2,
"comment": "label:22",
"actionValueID": 6
}
],
"*6": [
{
"windowGroupID": 0,
"actionTypeID": 2,
"comment": "label:21",
"actionValueID": 5
}
],
"*;": [
{
"windowGroupID": 5,
"actionTypeID": 9,
"comment": "label:75",
"actionValueID": 5
}
],
"singlePress": [
{
"windowGroupID": 0,
"actionTypeID": 9,
"comment": "label:75",
"actionValueID": 5
},
{
"windowGroupID": 5,
"actionTypeID": 6,
"keysToSend": "{blind}{'}"
}
]
}
},
{
"id": 19,
"name": "P模式",
"enable": true,
"hotkey": "p",
"parentID": 0,
"delay": 0,
"hotkeys": {
"*'": [
{
"windowGroupID": 0,
"actionTypeID": 5,
"comment": "重映射为 '",
"remapToKey": "'"
}
],
"*1": [
{
"windowGroupID": 5,
"actionTypeID": 6,
"comment": "vim模式下粘贴寄存器1中的文本",
"keysToSend": "\"1p"
}
],
"*2": [
{
"windowGroupID": 5,
"actionTypeID": 6,
"comment": "使用vim寄存器2 粘贴",
"keysToSend": "\"2p"
}
],
"*3": [
{
"windowGroupID": 5,
"actionTypeID": 6,
"comment": "vim模式下粘贴寄存器3中的文本",
"keysToSend": "\"3p"
}
],
"*4": [
{
"windowGroupID": 5,
"actionTypeID": 6,
"comment": "vim模式下粘贴寄存器4中的文本",
"keysToSend": "\"4p"
}
],
"*5": [
{
"windowGroupID": 5,
"actionTypeID": 6,
"comment": "vim模式下粘贴寄存器5中的文本",
"keysToSend": "\"5p"
}
],
"*6": [
{
"windowGroupID": 5,
"actionTypeID": 6,
"comment": "vim模式下粘贴寄存器6中的文本",
"keysToSend": "\"6p"
}
],
"*7": [
{
"windowGroupID": 5,
"actionTypeID": 6,
"comment": "vim模式下粘贴寄存器7中的文本",
"keysToSend": "\"7p"
}
],
"*8": [
{
"windowGroupID": 5,
"actionTypeID": 6,
"comment": "vim模式下粘贴寄存器8中的文本",
"keysToSend": "\"8p"
}
],
"*9": [
{
"windowGroupID": 5,
"actionTypeID": 6,
"comment": "vim模式下粘贴寄存器9中的文本",
"keysToSend": "\"9p"
}
],
"*m": [
{
"windowGroupID": 5,
"actionTypeID": 6,
"comment": "vim模式下粘贴寄存器m中的文本",
"keysToSend": "\"mp"
}
],
"*o": [
{
"windowGroupID": 5,
"actionTypeID": 6,
"comment": "vim模式下粘贴寄存器o中的文本",
"keysToSend": "\"op"
}
],
"*q": [
{
"windowGroupID": 5,
"actionTypeID": 6,
"comment": "VIM模式使用系统剪切板粘贴",
"keysToSend": "{text}\"+p"
}
],
"singlePress": [
{
"windowGroupID": 0,
"actionTypeID": 6,
"comment": "输入 p 键",
"keysToSend": "{blind}{p}"
}
]
}
},
{
"id": 20,
"name": "常用窗口切换",
"enable": true,
"hotkey": "Tab",
"parentID": 0,
"delay": 0,
"hotkeys": {
"*-": [
{
"windowGroupID": 0,
"actionTypeID": 3,
"comment": "label:9",
"actionValueID": 16
}
],
"*1": [
{
"windowGroupID": 0,
"actionTypeID": 1,
"comment": "Obsidian笔记绘图",
"winTitle": "Obsidian ahk_exe Obsidian.exe",
"target": "shortcuts\\Obsidian.lnk",
"detectHiddenWindow": true
}
],
"*2": [
{
"windowGroupID": 0,
"actionTypeID": 3,
"comment": "label:2",
"actionValueID": 2
},
{
"windowGroupID": 5,
"actionTypeID": 6,
"keysToSend": "{text}2@w"
}
],
"*3": [
{
"windowGroupID": 0,
"actionTypeID": 3,
"comment": "label:13",
"actionValueID": 11
},
{
"windowGroupID": 5,
"actionTypeID": 6,
"keysToSend": "{text}2@w"
}
],
"*4": [
{
"windowGroupID": 5,
"actionTypeID": 6,
"keysToSend": "{text}2@w"
}
],
"*5": [
{
"windowGroupID": 5,
"actionTypeID": 6,
"keysToSend": "{text}2@w"
}
],
"*6": [
{
"windowGroupID": 5,
"actionTypeID": 6,
"keysToSend": "{text}2@w"
}
],
"*7": [
{
"windowGroupID": 5,
"actionTypeID": 6,
"keysToSend": "{text}2@w"
}
],
"*8": [
{
"windowGroupID": 5,
"actionTypeID": 6,
"keysToSend": "{text}2@w"
}
],
"*9": [
{
"windowGroupID": 5,
"actionTypeID": 6,
"keysToSend": "{text}2@w"
}
],
"*a": [
{
"windowGroupID": 0,
"actionTypeID": 3,
"comment": "label:7",
"actionValueID": 7
}
],
"*c": [
{
"windowGroupID": 0,
"actionTypeID": 1,
"comment": "powershell",
"winTitle": "ahk_exe WindowsTerminal.exe",
"target": "shortcuts\\PowerShell 7-preview (x64).lnk"
}
],
"*e": [
{
"windowGroupID": 0,
"actionTypeID": 1,
"comment": "edge浏览器",
"winTitle": "Edge ahk_class Chrome_WidgetWin_1",
"target": "shortcuts\\Microsoft Edge.lnk"
}
],
"*g": [
{
"windowGroupID": 0,
"actionTypeID": 1,
"comment": "谷歌浏览器",
"winTitle": "TEST ahk_class Chrome_WidgetWin_1 ahk_exe chrome.exe",
"target": "shortcuts\\Google Chrome.lnk"
}
],
"*k": [
{
"windowGroupID": 0,
"actionTypeID": 3,
"comment": "label:8",
"actionValueID": 15
}
],
"*r": [
{
"windowGroupID": 0,
"actionTypeID": 3,
"comment": "label:3",
"actionValueID": 3
}
],
"*s": [
{
"windowGroupID": 0,
"actionTypeID": 3,
"comment": "label:4",
"actionValueID": 4
}
],
"*t": [
{
"windowGroupID": 0,
"actionTypeID": 3,
"comment": "label:11",
"actionValueID": 9
}
],
"*x": [
{
"windowGroupID": 0,
"actionTypeID": 3,
"comment": "label:1",
"actionValueID": 1
}
],
"*z": [
{
"windowGroupID": 0,
"actionTypeID": 3,
"comment": "label:10",
"actionValueID": 8
}
],
"singlePress": [
{
"windowGroupID": 0,
"actionTypeID": 6,
"comment": "输入 Tab 键",
"keysToSend": "{blind}{Tab}"
}
]
}
},
{
"id": 9,
"name": "文本编辑佳",
"enable": true,
"hotkey": "`",
"parentID": 0,
"delay": 0,
"hotkeys": {
"*-": [
{
"windowGroupID": 0,
"actionTypeID": 7,
"comment": "label:51",
"actionValueID": 14
}
],
"*.": [
{
"windowGroupID": 0,
"actionTypeID": 9,
"comment": "label:71",
"actionValueID": 1
}
],
"*/": [
{
"windowGroupID": 0,
"actionTypeID": 9,
"comment": "label:77",
"actionValueID": 7
}
],
"*0": [
{
"windowGroupID": 0,
"actionTypeID": 7,
"comment": "label:50",
"actionValueID": 13
}
],
"*1": [
{
"windowGroupID": 5,
"actionTypeID": 6,
"comment": "vim模式下指定寄存器1",
"keysToSend": "\"1"
}
],
"*2": [
{
"windowGroupID": 0,
"actionTypeID": 5,
"comment": "重映射为 Up",
"remapToKey": "Up"
},
{
"windowGroupID": 5,
"actionTypeID": 6,
"comment": "指定寄存器2",
"keysToSend": "\"2"
}
],
"*3": [
{
"windowGroupID": 5,
"actionTypeID": 6,
"comment": "vim模式下复制选中的文本到寄存器3",
"keysToSend": "\"3y"
}
],
"*4": [
{
"windowGroupID": 5,
"actionTypeID": 6,
"comment": "vim模式下复制选中的文本到寄存器4",
"keysToSend": "\"4y"
}
],
"*5": [
{
"windowGroupID": 5,
"actionTypeID": 6,
"comment": "vim模式下复制选中的文本到寄存器5",
"keysToSend": "\"5y"
}
],
"*6": [
{
"windowGroupID": 5,
"actionTypeID": 6,
"comment": "vim模式下复制选中的文本到寄存器6",
"keysToSend": "\"6y"
}
],
"*7": [
{
"windowGroupID": 5,
"actionTypeID": 6,
"comment": "vim模式下复制选中的文本到寄存器7",
"keysToSend": "\"7y"
}
],
"*8": [
{
"windowGroupID": 5,
"actionTypeID": 6,
"comment": "vim模式下指定寄存器8",
"keysToSend": "\"8"
}
],
"*9": [
{
"windowGroupID": 5,
"actionTypeID": 6,
"comment": "vim模式下指定寄存器9",
"keysToSend": "\"9"
}
],
"*;": [
{
"windowGroupID": 0,
"actionTypeID": 9,
"comment": "label:78",
"actionValueID": 8
}
],
"*F1": [
{
"windowGroupID": 5,
"actionTypeID": 6,
"comment": "vim paste 左手便利",
"keysToSend": "p"
}
],
"*a": [
{
"windowGroupID": 0,
"actionTypeID": 5,
"comment": "重映射为 Left",
"remapToKey": "Left"
}
],
"*b": [
{
"windowGroupID": 0,
"actionTypeID": 7,
"comment": "label:44",
"actionValueID": 7
}
],
"*c": [
{
"windowGroupID": 0,
"actionTypeID": 6,
"comment": "Ctrl C",
"keysToSend": "^c"
}
],
"*d": [
{
"windowGroupID": 0,
"actionTypeID": 5,
"comment": "重映射为 Right",
"remapToKey": "Right"
}
],
"*e": [
{
"windowGroupID": 0,
"actionTypeID": 7,
"comment": "label:53",
"actionValueID": 16
}
],
"*esc": [
{
"windowGroupID": 5,
"actionTypeID": 5,
"comment": "重映射为 F12",
"remapToKey": "F12"
}
],
"*f": [
{
"windowGroupID": 0,
"actionTypeID": 7,
"comment": "label:42",
"actionValueID": 5
}
],
"*g": [
{
"windowGroupID": 0,
"actionTypeID": 7,
"comment": "label:43",
"actionValueID": 6
}
],
"*h": [
{
"windowGroupID": 0,
"actionTypeID": 5,
"comment": "重映射为 Backspace",
"remapToKey": "Backspace"
}
],
"*i": [
{
"windowGroupID": 0,
"actionTypeID": 7,
"comment": "label:46",
"actionValueID": 9
}
],
"*j": [
{
"windowGroupID": 0,
"actionTypeID": 6,
"comment": "删除右边一个字符",
"keysToSend": "{right}{backspace}"
}
],
"*k": [
{
"windowGroupID": 0,
"actionTypeID": 7,
"comment": "label:54",
"actionValueID": 17
}
],
"*l": [
{
"windowGroupID": 0,
"actionTypeID": 7,
"comment": "label:57",
"actionValueID": 19
}
],
"*m": [
{
"windowGroupID": 0,
"actionTypeID": 6,
"comment": "输入组合键alt down,在idea中表示向下复制光标",
"keysToSend": "!{down}"
}
],
"*n": [
{
"windowGroupID": 0,
"actionTypeID": 7,
"comment": "label:47",
"actionValueID": 10
}
],
"*o": [
{
"windowGroupID": 0,
"actionTypeID": 6,
"comment": "输入组合键alt up,在idea中表示向上复制光标",
"keysToSend": "!{up}"
}
],
"*q": [
{
"windowGroupID": 0,
"actionTypeID": 7,
"comment": "label:62",
"actionValueID": 20
},
{
"windowGroupID": 5,
"actionTypeID": 6,
"comment": "使用vim的+寄存器 准备对系统剪切版进行写入",
"keysToSend": "{text}\"+"
}
],
"*r": [
{
"windowGroupID": 0,
"actionTypeID": 7,
"comment": "label:56",
"actionValueID": 18
}
],
"*s": [
{
"windowGroupID": 0,
"actionTypeID": 5,
"comment": "重映射为 Down",
"remapToKey": "Down"
}
],
"*shift": [
{
"windowGroupID": 0,
"actionTypeID": 6,
"keysToSend": "~"
}
],
"*t": [
{
"windowGroupID": 0,
"actionTypeID": 7,
"comment": "label:55",
"actionValueID": 33
}
],
"*u": [
{
"windowGroupID": 0,
"actionTypeID": 6,
"comment": "Ctrl Z撤消",
"keysToSend": "^z"
}
],
"*v": [
{
"windowGroupID": 0,
"actionTypeID": 6,
"comment": "Ctrl V",
"keysToSend": "^v"
}
],
"*w": [
{
"windowGroupID": 0,
"actionTypeID": 7,
"comment": "label:45",
"actionValueID": 8
},
{
"windowGroupID": 5,
"actionTypeID": 6,
"comment": "发出组合键指令 在idea中映射为复制文本及注释(插件提供)",
"keysToSend": "^+!1"
}
],
"*x": [
{
"windowGroupID": 0,
"actionTypeID": 6,
"comment": "Ctrl X",
"keysToSend": "^x"
}
],
"*y": [
{
"windowGroupID": 0,
"actionTypeID": 5,
"comment": "重映射为 Delete",
"remapToKey": "Delete"
}
],
"*z": [
{
"windowGroupID": 0,
"actionTypeID": 7,
"comment": "label:52",
"actionValueID": 15
}
],
"singlePress": [
{
"windowGroupID": 0,
"actionTypeID": 6,
"comment": "输入 ` 键",
"keysToSend": "{blind}{`}"
}
]
}
},
{
"id": 10,
"name": "Cap模式",
"enable": true,
"hotkey": "Capslock",
"parentID": 0,
"delay": 0,
"hotkeys": {
"*shift": [
{
"windowGroupID": 5,
"actionTypeID": 6,
"comment": "alt shift o CodeCheck格式化快捷键",
"keysToSend": "!+o"
}
],
"singlePress": [
{
"windowGroupID": 0,
"actionTypeID": 6,
"comment": "输入 Capslock 键",
"keysToSend": "{blind}{Capslock}"
},
{
"windowGroupID": 5,
"actionTypeID": 6,
"comment": "ctrl alt L idea格式化快捷键",
"keysToSend": "^!l"
}
]
}
},
{
"id": 1,
"name": "Custom Hotkeys",
"enable": true,
"hotkey": "customHotkeys",
"parentID": 0,
"delay": 0,
"hotkeys": {
"!d": [
{
"windowGroupID": 0,
"actionTypeID": 5,
"comment": "重映射为 Delete",
"remapToKey": "Delete"
},
{
"windowGroupID": 6,
"actionTypeID": 5,
"comment": "重映射为 Delete",
"remapToKey": "Delete"
}
],
"!r": [
{
"windowGroupID": 5,
"actionTypeID": 1,
"winTitle": "Postman ahk_exe Postman.exe",
"target": "shortcuts\\Postman.lnk"
}
],
"!v": [
{
"windowGroupID": 8,
"actionTypeID": 6,
"comment": "在高级粘贴中使用Ctrl 1首选粘贴项",
"keysToSend": "^1"
}
],
"#c": [
{
"windowGroupID": 0,
"actionTypeID": 6,
"comment": "打开powertorun剪切板插件",
"keysToSend": "#{space}\n{text}c:"
}
],
"F12": [
{
"windowGroupID": 0,
"actionTypeID": 6,
"comment": "用于切换ideavim模式,从idea编辑模式切换到vim模式后自动切到normal模式",
"keysToSend": "{f12}{esc}"
}
],
"RControl": [
{
"windowGroupID": 0,
"actionTypeID": 9,
"comment": "label:76",
"actionValueID": 6
}
],
"^a": [
{
"windowGroupID": 5,
"actionTypeID": 6,
"comment": "全选 避免与IdeaVim的快捷键冲突",
"keysToSend": "^9"
}
],
"^q": [
{
"windowGroupID": 5,
"actionTypeID": 6,
"comment": "输入@w,可触发vim寄存器w中的动作",
"keysToSend": "{text}@w"
}
],
"^x": [
{
"windowGroupID": 5,
"actionTypeID": 6,
"comment": "剪切 避免与IdeaVim的快捷键冲突",
"keysToSend": "^8"
}
]
}
},
{
"id": 2,
"name": "Command",
"enable": true,
"hotkey": "capslockAbbr",
"parentID": 0,
"delay": 0,
"hotkeys": {
"ca": [
{
"windowGroupID": 0,
"actionTypeID": 1,
"comment": "Calculator ( 计算器 )",
"winTitle": "计算器",
"target": "calc.exe"
}
],
"dd": [
{
"windowGroupID": 0,
"actionTypeID": 1,
"comment": "打开「 下载 」文件夹",
"target": "shell:downloads"
}
],
"dm": [
{
"windowGroupID": 0,
"actionTypeID": 1,
"comment": "打开「 MyKeymap 」文件夹",
"target": "ahk-expression: A_WorkingDir"
}
],
"gj": [
{
"windowGroupID": 0,
"actionTypeID": 2,
"comment": "label:19",
"actionValueID": 3
}
],
"ht": [
{
"windowGroupID": 0,
"actionTypeID": 1,
"comment": "FastStone截图绘图程序",
"winTitle": "FastStone ahk_exe FSCapture.exe",
"target": "D:\\FSCapture108\\FSCapture.exe",
"detectHiddenWindow": true
}
],
"img": [
{
"windowGroupID": 0,
"actionTypeID": 1,
"comment": "打开图片文件夹",
"winTitle": "图 ahk_class CabinetWClass ahk_exe explorer.exe",
"target": "C:\\Users\\s30066538\\Pictures\\"
}
],
"jy": [
{
"windowGroupID": 0,
"actionTypeID": 2,
"comment": "label:2401",
"actionValueID": 9
}
],
"kp": [
{
"windowGroupID": 0,
"actionTypeID": 3,
"comment": "label:8",
"actionValueID": 15
}
],
"ld": [
{
"windowGroupID": 0,
"actionTypeID": 2,
"comment": "label:22",
"actionValueID": 6
}
],
"lj": [
{
"windowGroupID": 0,
"actionTypeID": 1,
"comment": "打开「 回收站 」文件夹",
"target": "shell:RecycleBinFolder"
}
],
"lp": [
{
"windowGroupID": 0,
"actionTypeID": 1,
"comment": "启动录屏程序",
"winTitle": "Captura ahk_exe captura.exe",
"target": "D:\\gitMaker\\captura.exe",
"runAsAdmin": true,
"detectHiddenWindow": true
}
],
"md": [
{
"windowGroupID": 0,
"actionTypeID": 6,
"comment": "映射到powertoys高级粘贴,粘贴md",
"keysToSend": "#^!v"
}
],
"sd": [
{
"windowGroupID": 0,
"actionTypeID": 6,
"comment": "使用powertoys切换当前窗口置顶状态;有置顶边框显示防呆",
"keysToSend": "#^t"
}
],
"se": [
{
"windowGroupID": 0,
"actionTypeID": 9,
"comment": "label:74",
"actionValueID": 4
}
],
"sl": [
{
"windowGroupID": 0,
"actionTypeID": 2,
"comment": "label:18",
"actionValueID": 2
}
],
"uy": [
{
"windowGroupID": 0,
"actionTypeID": 1,
"comment": "Volume Mixer 音量合成器",
"target": "ms-settings:apps-volume"
}
],
"wt": [
{
"windowGroupID": 0,
"actionTypeID": 1,
"comment": "用 Windows Terminal 打开选中的文件夹",
"target": "wt.exe",
"args": "-d \"{selected}\""
}
]
}
},
{
"id": 3,
"name": "Abbreviation",
"enable": true,
"hotkey": "semicolonAbbr",
"parentID": 0,
"delay": 0,
"hotkeys": {
",": [
{
"windowGroupID": 0,
"actionTypeID": 6,
"comment": "输入中文逗号",
"keysToSend": ","
}
],
".": [
{
"windowGroupID": 0,
"actionTypeID": 6,
"comment": "输入中文句号",
"keysToSend": "。"
}
],
"/": [
{
"windowGroupID": 0,
"actionTypeID": 6,
"comment": "输入中文顿号",
"keysToSend": "、"
}
],
"cc": [
{
"windowGroupID": 0,
"actionTypeID": 1,
"comment": "用剪切板收集文本 (连续复制然后合并粘贴)",
"winTitle": "连续复制后 ahk_class AutoHotkeyGUI",
"target": "bin\\AutoHotkey64.exe",
"args": "bin\\CollectText.ahk",
"runInBackground": true,
"detectHiddenWindow": true
}
],
"dk": [
{
"windowGroupID": 0,
"actionTypeID": 6,
"comment": "输入一对 {} 并把光标移动中间",
"keysToSend": "{text}{}\n{left}"
}
],
"dq": [
{
"windowGroupID": 0,
"actionTypeID": 1,
"comment": "对齐代码注释",
"target": "bin\\AutoHotkey64.exe",
"args": "bin\\AlignComment.ahk",
"runInBackground": true
}
],
"fk": [
{
"windowGroupID": 0,
"actionTypeID": 6,
"comment": "输入中文中括号【】并光标居中",
"keysToSend": "{text}【】\n{left}"
}
],
"gt": [
{
"windowGroupID": 0,
"actionTypeID": 6,
"comment": "狗头 🐶",
"keysToSend": "🐶"
}
],
"ixml": [
{
"windowGroupID": 0,
"actionTypeID": 2,
"comment": "label:2402",
"actionValueID": 10
}
],
"jt": [
{
"windowGroupID": 0,
"actionTypeID": 6,
"comment": "输入箭头符号➤ ",
"keysToSend": "{text}➤ "
}
],
"rq": [
{
"windowGroupID": 0,
"actionTypeID": 6,
"comment": "输入当前日期",
"keysToSend": "ahk-expression: Format(\"{}-{}-{}\", A_YYYY, A_MM, A_DD)"
}
],
"sj": [
{
"windowGroupID": 0,
"actionTypeID": 6,
"comment": "当前时间 例 2024-08-07 09:07:14",
"keysToSend": "ahk-expression: Format(\"{}-{}-{} {}:{}:{}\", A_YYYY, A_MM, A_DD, A_Hour, A_Min,A_Sec)"
}
],
"sq": [
{
"windowGroupID": 0,
"actionTypeID": 6,
"comment": "输入一对「」并把光标移动中间",
"keysToSend": "「 」\n{left 2}"
}
],
"uj": [
{
"windowGroupID": 0,
"actionTypeID": 6,
"comment": "输入当前时间例 2024年08月07日 09:07:14",
"keysToSend": "ahk-expression: Format(\"{}年{}月{}日 {}:{}:{}\", A_YYYY, A_MM, A_DD, A_Hour, A_Min,A_Sec)"
}
],
"um": [
{
"windowGroupID": 0,
"actionTypeID": 6,
"comment": "输入书名号并光标居中",
"keysToSend": "{text}《》\n{left}"
}
],
"v": [
{
"windowGroupID": 0,
"actionTypeID": 6,
"comment": "破折号",
"keysToSend": "——"
}
],
"xf": [
{
"windowGroupID": 0,
"actionTypeID": 6,
"comment": "输入小括号和分号",
"keysToSend": "();{left 2}"
}
],
"xk": [
{
"windowGroupID": 0,
"actionTypeID": 6,
"comment": "输入一对 () 并把光标移到中间",
"keysToSend": "(){left}"
}
],
"zh": [
{
"windowGroupID": 0,
"actionTypeID": 6,
"comment": "搜索时加上 site: 选项,能让搜索引擎只搜某网站的内容,另外用 inurl: 过滤掉专栏和视频内容",
"keysToSend": "{text} site:zhihu.com inurl:question"
}
],
"zk": [
{
"windowGroupID": 0,
"actionTypeID": 6,
"comment": "输入一对 [] 并把光标移到中间",
"keysToSend": "[]{left}"
}
]
}
},
{
"id": 4,
"name": "Settings",
"enable": true,
"hotkey": "settings",
"parentID": 0,
"delay": 0,
"hotkeys": {}
}
],
"options": {
"mykeymapVersion": "2.0-beta31",
"windowGroups": [
{
"id": -1,
"name": "🚫 Exclude",
"value": "Stardew Valley ahk_class SDL_app\nahk_exe Rune Factory 3 Special.exe"
},
{
"id": 0,
"name": "🌎 Global"
},
{
"id": 1,
"name": "🌐 Web Browser",
"value": "ahk_exe chrome.exe\nahk_exe msedge.exe\nahk_exe firefox.exe",
"conditionType": 1
},
{
"id": 3,
"name": "📁 File Explorer",
"value": "ahk_exe explorer.exe",
"conditionType": 1
},
{
"id": 5,
"name": "编辑器",
"value": "ahk_exe idea64.exe\nahk_exe WindowsTerminal.exe",
"conditionType": 1
},
{
"id": 6,
"name": "obsidian",
"value": "Obsidian ahk_exe Obsidian.exe",
"conditionType": 1
},
{
"id": 7,
"name": "welink",
"value": "ahk_exe WeLinkPC.exe",
"conditionType": 1
},
{
"id": 8,
"name": "高级粘贴",
"value": "ahk_exe PowerToys.AdvancedPaste.exe",
"conditionType": 1
}
],
"mouse": {
"keepMouseMode": false,
"showTip": false,
"tipSymbol": "🐶",
"delay1": "0.13",
"delay2": "0.01",
"fastSingle": "110",
"fastRepeat": "70",
"slowSingle": "10",
"slowRepeat": "13"
},
"scroll": {
"delay1": "0.2",
"delay2": "0.03",
"onceLineCount": "1"
},
"commandInputSkin": {
"backgroundColor": "#FFFFFF",
"backgroundOpacity": "0.9",
"borderWidth": "3",
"borderColor": "#FFFFFF",
"borderOpacity": "1.0",
"borderRadius": "10",
"cornerColor": "#000000",
"cornerOpacity": "0.0",
"gridlineColor": "#2843AD",
"gridlineOpacity": "0.04",
"keyColor": "#000000",
"keyOpacity": "1.0",
"hideAnimationDuration": "0.34",
"windowYPos": "0.25",
"windowWidth": "700",
"windowShadowColor": "#000000",
"windowShadowOpacity": "0.5",
"windowShadowSize": "3.0"
},
"pathVariables": [
{
"name": "programs",
"value": "C:\\ProgramData\\Microsoft\\Windows\\Start Menu\\Programs\\"
}
],
"startup": true,
"language": "zh",
"keyMapping": "",
"keyboardLayout": "` 1 2 3 4 5 6 7 8 9 0 - \nq w e r t y u i o p [\na s d f g h j k l ; '\nz x c v b n m , . /\nsinglePress shift F1 F2 F3 esc"
}
}
更新一个一键解压安装新版本的脚本,需要依赖7z解压软件并将其命令行程序加入path
7z x ~\Downloads\MyKeymap-2.0-beta31.7z -aoa -od:\ "-xr!MyKeymap-2.0-beta31\data\*"
命令中的~\Downloads和d:\请自行替换成自己的压缩包所在目录和目标解压目录