Skip to content

Commit

Permalink
Allow cmd+w, ctrl+w, etc (from the left side)
Browse files Browse the repository at this point in the history
  • Loading branch information
babysnakes committed Nov 11, 2024
1 parent 1a072c9 commit 131c4e2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion JzWvO/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -653,8 +653,10 @@ bool achordion_chord(uint16_t tap_hold_keycode,
keyrecord_t* tap_hold_record,
uint16_t other_keycode,
keyrecord_t* other_record) {
// Override - Remove thumbs from achordion (seems that top thumb is already excluded)
// Remove thumbs from achordion (seems that top thumb is already excluded)
if (tap_hold_record->event.key.row % (MATRIX_ROWS / 2) == 5) { return true; }
// Allow same side for ctrl+w, cmd+w, etc
if (other_keycode == KC_W) { return true; }

return achordion_opposite_hands(tap_hold_record, other_record);
}

0 comments on commit 131c4e2

Please sign in to comment.