diff --git a/ahk/keys.ahk b/ahk/keys.ahk index c559c141..c1ed0f34 100644 --- a/ahk/keys.ahk +++ b/ahk/keys.ahk @@ -37,4 +37,6 @@ +^!f::Send("^+{h}") ; Shift+Alt+☉ ☊ (global) ; Settings - ^+0::Send("^{Numpad0}") ; Ctrl+0 Vscode Zoom Reset +#HotIf WinActive("ahk_exe code.exe") + ^0::Send("^{Numpad0}") ; Ctrl+0 Zoom Reset +#HotIf diff --git a/config/corne.keymap b/config/corne.keymap index aa0e586c..7404e974 100644 --- a/config/corne.keymap +++ b/config/corne.keymap @@ -184,14 +184,12 @@ #define ZOOM_RST &kp RC(N0) // tap: zoom reset #define ZOOM_OUT &kp RC(MINUS) // tap: zoom out - #define S19 &hm RSHFT C_PREV - label = "STG"; bindings = < - KEY_ESC &none &bt BT_PRV &bt BT_CLR &bt BT_NXT ZOOM_IN &kp C_VOL_UP &none &kp C_STOP &none &none &none - &none &none &m_s_b1 &m_s_b2 &m_s_b3 ZOOM_RST &kp C_MUTE S19 &kp C_PP &kp C_NEXT &none &none - &none &none &m_s_b4 &m_s_b5 &m_s_b6 ZOOM_OUT &kp C_VOL_DN &kp C_RW &kp C_SHUFFLE &kp C_FF &none &none - &kp C_BRI_DN KEY_SPC &to_BAS &to_DEV KEY_RET &kp C_BRI_UP + KEY_ESC &none &bt BT_PRV &bt BT_CLR &bt BT_NXT ZOOM_IN &kp C_VOL_UP &none &kp C_STOP &none &none &none + &none &none &m_s_b1 &m_s_b2 &m_s_b3 ZOOM_RST &kp C_MUTE &kp C_PREV &kp C_PP &kp C_NEXT &none &none + &none &none &m_s_b4 &m_s_b5 &m_s_b6 ZOOM_OUT &kp C_VOL_DN &kp C_RW &kp C_SHUFFLE &kp C_FF &none &none + &kp C_BRI_DN KEY_SPC &to_BAS &to_DEV KEY_RET &kp C_BRI_UP >; }; };