Skip to content

Commit

Permalink
fix zoom reset with vscode option
Browse files Browse the repository at this point in the history
  • Loading branch information
equiman committed Jan 27, 2023
1 parent 1cb341f commit 04babf1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 3 additions & 1 deletion ahk/keys.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -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
10 changes: 4 additions & 6 deletions config/corne.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -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
>;
};
};
Expand Down

0 comments on commit 04babf1

Please sign in to comment.