Skip to content

Commit

Permalink
fix(win): caps 模式键位微调
Browse files Browse the repository at this point in the history
  • Loading branch information
shaddollxz committed Sep 1, 2023
1 parent 59ff78c commit 266a7ec
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions win/modules/mode-caps.ahk
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#Include "../configs/key-map.ahk"
#Include "../utils/get-change-tab-type.ahk"
#Include "../utils/use-mode.ahk"
#Include "../utils/assert.ahk"

modeData_caps := useMode("CapsLock", keyMap.onlyCaps)

Expand Down Expand Up @@ -53,15 +52,8 @@ modeData_caps := useMode("CapsLock", keyMap.onlyCaps)
}

; 关闭标签页 另一个快捷键是 alt + q
*p:: {
Send(keyMap.ctrl . "w")
}

; 刷新浏览器
*c:: {
if (isBrowser()) {
Send("F5")
}
Send(keyMap.ctrl . "w")
}

; todo 切换窗口
Expand Down

0 comments on commit 266a7ec

Please sign in to comment.