Skip to content

Commit

Permalink
add single/double apostrophe on ergol keymap
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffDess committed Jan 12, 2024
1 parent 3282d65 commit 1daf37a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
10 changes: 8 additions & 2 deletions behaviors/mod-morph.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,20 @@ ZMK_BEHAVIOR(dot_col, mod_morph,
mods = <(MOD_LSFT|MOD_RSFT)>;
)

// tap: period | shift + tap: colon
// tap: comma | shift + tap: semi-colon
ZMK_BEHAVIOR(comma_semi, mod_morph,
bindings = <&kp COMMA>, <&kp SEMI>;
mods = <(MOD_LSFT|MOD_RSFT)>;
)

// tap: period | shift + tap: colon
// tap: trema | shift + tap: grave
ZMK_BEHAVIOR(trem_gr, mod_morph,
bindings = <&KPD ACC_TR ERG>, <&KPD ACC_GR ERG>;
mods = <(MOD_LSFT|MOD_RSFT)>;
)

// tap: single apostrophe | shift + tap: double apostrophe
ZMK_BEHAVIOR(sap_dap, mod_morph,
bindings = <&SAPOS>, <&DAPOS>;
mods = <(MOD_LSFT|MOD_RSFT)>;
)
2 changes: 1 addition & 1 deletion config/urchin.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ ZMK_LAYER(ergol,
// ├───────────┼───────────┼───────────┼────────────┼────────────┤ ├───────────┼─────────────┼─────────────┼────────────┼────────────┤
&hml GL A &hml AL S &hml CL E &hml SL N &comma_semi &kp L &hmr SL R &hmr CL T &hmr AL I &hmr GL U
// ├───────────┼───────────┼───────────┼────────────┼────────────┤ ├───────────┼─────────────┼─────────────┼────────────┼────────────┤
&kp Z &kp X &kp QUEST &kp V &kp B &dot_col &kp H &kp G &kp Y &kp K
&kp Z &kp X &sap_dap &kp V &kp B &dot_col &kp H &kp G &kp Y &kp K
// ╰───────────┴───────────┴───────────┼────────────┼────────────┤ ├───────────┼─────────────┼─────────────┴────────────┴────────────╯
___ ___ ___ ___
// ╰────────────┴────────────╯ ╰───────────┴─────────────╯
Expand Down
2 changes: 2 additions & 0 deletions layouts/canadian-multilingual-standard.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
/* Canadian Multilingual Standard Mappings */

#define SLSH GRAVE // /
#define SAPOS LS(COMMA) // /
#define DAPOS LS(DOT) // /
#define DEG RA(SEMI) // °
#define LBRAC RA(N7) // {
#define RBRAC RA(N8) // }
Expand Down

0 comments on commit 1daf37a

Please sign in to comment.