Skip to content

Commit

Permalink
feat: swap slash / semicolon positions (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
minusfive authored Oct 11, 2024
1 parent 57abb67 commit 2b20595
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 19 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ Knucklehead[^1] is a mnemonic, macOS-optimized, 42 key ergonomic columnar layout
| `[ {` | `N + H` | Proximity; used to define a `N`ew `H`ash table/map on many programming languages; adjacent to `] }` |
| `] }` | `E + ,` | Proximity; used to `E`nd hash tables/maps on many programming languages; `,` is also typically used to delimit items within hash tables/maps; adjacent to `[ {` |
| `-_ =+`<br/>`[{ ]} \|\` | Apple ANSI position | This key cluster retains their order/position relative to each other as on Apple keyboards, but moved to vertical combos more easily accessible to stronger fingers. |
| `\| \` | `I + .` or `/ ?` | Shape similarity, proximity; logical `OR` — same position, opposite hand as `&` (logical `AND`)   |
| `/ ?` | `I + .` or `\| \` | Shape similarity, proximity, symmetry; same column as `\| \`.   |
| `\| \` | `I + .` or `/ ?` | Shape similarity, proximity, symmetry; logical `OR` — same position, opposite hand as `&` (logical `AND`); same column as `/ ?`.   |
| `&` | `R + X` | Shape similarity; logical `AND` — same position, opposite hand as `\|` (logical `OR`) |
| `*` | `S + C` | `S`tar, wild `C`ard |
| **** (Caps Lock) | **** (Shift) | Same position as ⇧ (shift), but on `Fn` layer |
Expand All @@ -69,7 +70,7 @@ Knucklehead[^1] is a mnemonic, macOS-optimized, 42 key ergonomic columnar layout
Keys are repositioned in clusters to either "familiar" relative positions, or otherwise logical ones, using ANSI Apple keyboards as a reference, e.g.:

- Arrow keys are placed on `Layer 2` in traditional `VIM + QWERTY` positions.
- `;:` is accessible as a combo on a stronger finger, but retains its own relative position to the `'"` key.
- `;:` is positioned next to `, <` and `. >`, as a natural punctuation cluster.
- `1–5` numbers retain their familiar "left, upper-row" position on `Layer 2`, while `6–0` are positioned in the next row below. This not only feels natural for single handed numeric typing, but also moves the most used symbols [for programming] to more accessible positions.
- `Fn` keys are aligned with their corresponding numeric positions on `Layer 2`.
- Bluetooth profile selector combos on the `Fn` layer are aligned with their corresponding numeric positions.
Expand Down
16 changes: 8 additions & 8 deletions img/corneish_zen.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions img/corneish_zen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ layers:
- H
- {t: ',', s: <}
- {t: ., s: '>'}
- {t: /, s: '?'}
- {t: ;, s: ':'}
- {t: Fn, h: '$$mdi:close-box$$'}
- $$mdi:keyboard-tab$$
- {t: '$$mdi:keyboard-space$$', h: '$$mdi:apple-keyboard-shift$$'}
Expand Down Expand Up @@ -167,7 +167,7 @@ combos:
k: {h: '=', s: +}
l: [L1, L2, Fn]
- p: [9, 21]
k: {h: ;, s: ':'}
k: {t: /, s: '?'}
l: [L1, L2, Fn]
- p: [6, 18]
k: $$mdi:transfer-up$$
Expand Down
2 changes: 1 addition & 1 deletion knucklehead/L1_colemak-dh.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
&bkspc_del &kp A &hrml LCTRL R &hrml LALT S &hrml LCMD T &hrml MEH G &hrmr MEH M &hrmr LCMD N &hrmr LALT E &hrmr LCTRL I &kp O &kp ENTER
// ├───────────────├───────────────┼───────────────┼───────────────┼───────────────┼───────────────┤ ├───────────────├───────────────┼───────────────┼───────────────┼───────────────┼───────────────┤
// │24 │25 │26 │27 │28 │29 │ │30 │31 │32 │33 │34 │35 │
&csl Fn &kp Z &kp X &kp C &kp D &kp V &kp K &kp H &kp COMMA &kp DOT &kp SLASH &csl Fn
&csl Fn &kp Z &kp X &kp C &kp D &kp V &kp K &kp H &kp COMMA &kp DOT &kp SEMICOLON &csl Fn
// ╰───────────────┴───────────────┴───────────────┼───────────────┼───────────────┼───────────────┤ ├───────────────├───────────────┼───────────────┼───────────────┴───────────────┴───────────────╯
// │36 │37 │38 │ │39 │40 │41 │
&kp TAB &mt LSHFT SPACE &smart_num L2 0 &smart_num L2 0 &smart_shift &kp GRAVE
Expand Down
2 changes: 1 addition & 1 deletion knucklehead/L1_colemak.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
&bkspc_del &kp A &hrml LCTRL R &hrml LALT S &hrml LCMD T &hrml MEH D &hrmr MEH H &hrmr LCMD N &hrmr LALT E &hrmr LCTRL I &kp O &kp ENTER
// ├───────────────├───────────────┼───────────────┼───────────────┼───────────────┼───────────────┤ ├───────────────├───────────────┼───────────────┼───────────────┼───────────────┼───────────────┤
// │24 │25 │26 │27 │28 │29 │ │30 │31 │32 │33 │34 │35 │
&csl Fn &kp Z &kp X &kp C &kp V &kp B &kp K &kp M &kp COMMA &kp DOT &kp SLASH &csl Fn
&csl Fn &kp Z &kp X &kp C &kp V &kp B &kp K &kp M &kp COMMA &kp DOT &kp SEMICOLON &csl Fn
// ╰───────────────┴───────────────┴───────────────┼───────────────┼───────────────┼───────────────┤ ├───────────────├───────────────┼───────────────┼───────────────┴───────────────┴───────────────╯
// │36 │37 │38 │ │39 │40 │41 │
&kp TAB &mt LSHFT SPACE &smart_num L2 0 &smart_num L2 0 &smart_shift &kp GRAVE
Expand Down
2 changes: 1 addition & 1 deletion knucklehead/L1_qwerty.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
&bkspc_del &kp A &hrml LCTRL S &hrml LALT D &hrml LCMD F &hrml MEH G &hrmr MEH H &hrmr LCMD J &hrmr LALT K &hrmr LCTRL L &kp SQT &kp ENTER
// ├───────────────├───────────────┼───────────────┼───────────────┼───────────────┼───────────────┤ ├───────────────├───────────────┼───────────────┼───────────────┼───────────────┼───────────────┤
// │24 │25 │26 │27 │28 │29 │ │30 │31 │32 │33 │34 │35 │
&csl Fn &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp SLASH &csl Fn
&csl Fn &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp SEMICOLON &csl Fn
// ╰───────────────┴───────────────┴───────────────┼───────────────┼───────────────┼───────────────┤ ├───────────────├───────────────┼───────────────┼───────────────┴───────────────┴───────────────╯
// │36 │37 │38 │ │39 │40 │41 │
&kp TAB &mt LSHFT SPACE &smart_num L2 0 &smart_num L2 0 &smart_shift &kp GRAVE
Expand Down
5 changes: 1 addition & 4 deletions knucklehead/combos.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@
╰────────────╯ ╰────────────╯
*/

/* Layers */
// COMBO(to_2, &to L2, 38 39, L1, COMBO_TERM_DEFAULT, COMBO_QUICK_TAP_MS)

/* Symbols */
// Left
COMBO(excl, &kp EXCL, 1 13, L1 L2, COMBO_TERM_DEFAULT, COMBO_QUICK_TAP_MS)
Expand All @@ -39,7 +36,7 @@
// Right
COMBO(minus, &kp MINUS, 7 19, L1 L2 Fn, COMBO_TERM_DEFAULT, COMBO_QUICK_TAP_MS)
COMBO(equal, &kp EQUAL, 8 20, L1 L2 Fn, COMBO_TERM_DEFAULT, COMBO_QUICK_TAP_MS)
COMBO(semicolon, &kp SEMICOLON, 9 21, L1 L2 Fn, COMBO_TERM_DEFAULT, COMBO_QUICK_TAP_MS)
COMBO(slash, &kp SLASH, 9 21, L1 L2 Fn, COMBO_TERM_DEFAULT, COMBO_QUICK_TAP_MS)
COMBO(pgup, &kp PG_UP, 6 18, L1 L2 Fn, COMBO_TERM_DEFAULT, COMBO_QUICK_TAP_MS)
COMBO(pgdn, &kp PG_DN, 18 30, L1 L2 Fn, COMBO_TERM_DEFAULT, COMBO_QUICK_TAP_MS)
COMBO(lbkt, &kp LBKT, 19 31, L1 L2 Fn, COMBO_TERM_DEFAULT, COMBO_QUICK_TAP_MS)
Expand Down

0 comments on commit 2b20595

Please sign in to comment.