update exl layer

This commit is contained in:
Glen Goodwin 2023-08-30 00:22:08 -04:00
parent cc58dadadf
commit 6a87847196
2 changed files with 11 additions and 4 deletions

View file

@ -7,6 +7,7 @@
#include <dt-bindings/zmk/keys.h> #include <dt-bindings/zmk/keys.h>
#include <dt-bindings/zmk/bt.h> #include <dt-bindings/zmk/bt.h>
#include <dt-bindings/zmk/outputs.h>
/* Layers */ /* Layers */
#define DEF_L 0 #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 &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 &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 &none &none &none &none
// ╰─────────────┴─────────────╯ ╰─────────────┴─────────────╯ // ╰─────────────┴─────────────╯ ╰─────────────┴─────────────╯

View file

@ -20,9 +20,15 @@ MACRO(power, &macro_tap_time 1000 &kp C_POWER)
/* Excel Macros */ /* 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_auto_sum, &kp LA(EQUAL)) // AutoSum
MACRO(exl_tgl_df, &kp LC(GRAVE)) // Toggle data/formulas 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_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))>;)