Skip to content

Commit

Permalink
add colemak layer
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffDess committed Jan 11, 2024
1 parent 9051273 commit 1498f49
Show file tree
Hide file tree
Showing 5 changed files with 228 additions and 20 deletions.
11 changes: 6 additions & 5 deletions config/constants.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@
// Must match order in which they are defined
#define DEF 0
#define ACC 1
#define SYM 2
#define NAV 3
#define NUM 4
#define MOU 5
#define GAM 6
#define COL 2
#define SYM 3
#define NAV 4
#define NUM 5
#define MOU 6
#define GAM 7

// Modifier keys
#define GL LGUI
Expand Down
12 changes: 12 additions & 0 deletions config/corne.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,18 @@ ZMK_LAYER_5COL(accent,
// ╰───────────┴────────────┴────────────╯ ╰───────────┴─────────────┴─────────────╯
)

ZMK_LAYER(colemak,
// ╭───────────┬───────────┬───────────┬────────────┬────────────╮ ╭───────────┬─────────────┬─────────────┬────────────┬────────────╮
&kp Q &kp W &kp F &kp P &kp B &kp J &kp L &kp U &kp Y &kp SEMI
// ├───────────┼───────────┼───────────┼────────────┼────────────┤ ├───────────┼─────────────┼─────────────┼────────────┼────────────┤
&hml GL A &hml AL R &hml CL S &hml SL T &kp G &kp M &hmr SL N &hmr CL E &hmr AL I &hmr GL O
// ├───────────┼───────────┼───────────┼────────────┼────────────┤ ├───────────┼─────────────┼─────────────┼────────────┼────────────┤
&kp Z &kp X &kp C &kp D &kp V &kp K &kp H &kp COMMA &kp DOT XXX
// ╰───────────┴───────────┼───────────┼────────────┼────────────┤ ├───────────┼─────────────┼─────────────┼────────────┴────────────╯
___ ___ ___ ___ ___ ___
// ╰───────────┴────────────┴────────────╯ ╰───────────┴─────────────┴─────────────╯
)

ZMK_LAYER_5COL(symbol,
// ╭───────────┬───────────┬───────────┬────────────┬────────────╮ ╭───────────┬─────────────┬─────────────┬────────────┬────────────╮
&kp HASH &kp AT &kp LBRAC &kp RBRAC &kp PLUS XXX &kp TILDS &GRA &kp DLLR XXX
Expand Down
14 changes: 13 additions & 1 deletion config/urchin.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ ZMK_LAYER(qwerty,
&kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &to ACC
// ╰───────────┴───────────┴───────────┼────────────┼────────────┤ ├───────────┼─────────────┼─────────────┴────────────┴────────────╯
&lt NAV RET &num_esc_clk &bspc_del &sp_nbsp_sym
// ╰───────────┴─────────────╯ ╰───────────┴─────────────╯
// ╰────────────┴────────────╯ ╰───────────┴─────────────╯
)

ZMK_LAYER(accent,
Expand All @@ -42,6 +42,18 @@ ZMK_LAYER(accent,
// ╰────────────┴────────────╯ ╰───────────┴─────────────╯
)

ZMK_LAYER(colemak,
// ╭───────────┬───────────┬───────────┬────────────┬────────────╮ ╭───────────┬─────────────┬─────────────┬────────────┬────────────╮
&kp Q &kp W &kp F &kp P &kp B &kp J &kp L &kp U &kp Y &kp SEMI
// ├───────────┼───────────┼───────────┼────────────┼────────────┤ ├───────────┼─────────────┼─────────────┼────────────┼────────────┤
&hml GL A &hml AL R &hml CL S &hml SL T &kp G &kp M &hmr SL N &hmr CL E &hmr AL I &hmr GL O
// ├───────────┼───────────┼───────────┼────────────┼────────────┤ ├───────────┼─────────────┼─────────────┼────────────┼────────────┤
&kp Z &kp X &kp C &kp D &kp V &kp K &kp H &kp COMMA &kp DOT XXX
// ╰───────────┴───────────┴───────────┼────────────┼────────────┤ ├───────────┼─────────────┼─────────────┴────────────┴────────────╯
___ ___ ___ ___
// ╰────────────┴────────────╯ ╰───────────┴─────────────╯
)

ZMK_LAYER(symbol,
// ╭───────────┬───────────┬───────────┬────────────┬────────────╮ ╭───────────┬─────────────┬─────────────┬────────────┬────────────╮
&kp HASH &kp AT &kp LBRAC &kp RBRAC &kp PLUS XXX &kp TILDS &GRA &kp DLLR XXX
Expand Down
176 changes: 162 additions & 14 deletions images/keymaps/urchin_keymap.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
35 changes: 35 additions & 0 deletions keymap-drawer/urchin_keymap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,41 @@ layers:
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- {t: ▽, type: trans}
colemak:
- Q
- W
- F
- P
- B
- J
- L
- U
- Y
- ;
- {t: A, h: GUI}
- {t: R, h: ALT}
- {t: S, h: CTRL}
- {t: T, h: SHIFT}
- G
- M
- {t: N, h: SHIFT}
- {t: E, h: CTRL}
- {t: I, h: ALT}
- {t: O, h: GUI}
- Z
- X
- C
- D
- V
- K
- H
- ','
- .
- ''
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- {t: ▽, type: trans}
symbol:
- '#'
- '@'
Expand Down

0 comments on commit 1498f49

Please sign in to comment.