diff --git a/config/flea.keymap b/config/flea.keymap index fcaebe0..6c3bf8b 100644 --- a/config/flea.keymap +++ b/config/flea.keymap @@ -7,6 +7,7 @@ #include #include +#include /* Layers */ #define DEF_L 0 @@ -252,7 +253,7 @@ macros { // ╭─────────────┬─────────────┬─────────────┬─────────────┬─────────────╮ ╭─────────────┬─────────────┬─────────────┬─────────────┬─────────────╮ &bt BT_PRV &bt BT_CLR &bt BT_NXT &none &kp LC(HOME) &kp LC(HOME) &kp F4 &bt BT_SEL 2 &none &none &none &none &none &kp LC(END) &bt BT_SEL 3 &kp F2 &bt BT_SEL 5 &kp LS(SPACE) - &none &sys_reset &none &bootloader &kp LS(LC(DLLR)) &kp LC(TILDE) &kp LS(LC(PRCNT)) &kp LC(SPACE) + &none &sys_reset &none &bootloader &exl_cur_fmt &kp LC(TILDE) &none &kp LC(SPACE) // ╰─────────────┴─────────────┴─────────────╮ ╭─────────────┴─────────────┴─────────────╯ &none &none &none &none // ╰─────────────┴─────────────╯ ╰─────────────┴─────────────╯ diff --git a/config/macros.dtsi b/config/macros.dtsi index 119ece6..8ec1783 100644 --- a/config/macros.dtsi +++ b/config/macros.dtsi @@ -20,9 +20,15 @@ MACRO(power, ¯o_tap_time 1000 &kp C_POWER) /* Excel Macros */ -MACRO(exl_ins_abv, &kp LC(PLUS)) // Insert Row Above -MACRO(exl_ins_bel, &kp LC(LS(PLUS))) // Insert Row Below MACRO(exl_auto_sum, &kp LA(EQUAL)) // AutoSum MACRO(exl_tgl_df, &kp LC(GRAVE)) // Toggle data/formulas -MACRO(exl_cur_fmt, &kp LC(LS(DLLR))) // Currency format MACRO(exl_pct_fmt, &kp LC(LS(PRCNT))) // Percent format +MACRO(exl_cmt_ins, &kp LC(LS(F2))) // Cell Comment +MACRO(exl_sel_dep, &kp LC(RBKT)) // Select Dependents +MACRO(exl_sel_pre, &kp LC(LBKT)) // Select Precendents + + +ZMK_MACRO(exl_cur_fmt, // Currency format + wait-ms = <0>; + tap-ms = <0>; + bindings = <&kp LC(LS(DLLR))>;)