forked from filterpaper/qmk_userspace
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcombos.def
More file actions
26 lines (22 loc) · 740 Bytes
/
combos.def
File metadata and controls
26 lines (22 loc) · 740 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#if defined(KEYBOARD_3w6_rev2) || defined(KEYBOARD_a_dux) || defined(KEYBOARD_cradio)
// Vertical for choc spacing
COMB(KC_VOLU, KC_VOLU, KC_Y, KC_H)
COMB(KC_VOLD, KC_VOLD, KC_H, KC_N)
#else
// Horizontal for MX spacing
COMB(KC_VOLU, KC_VOLU, KC_Y, KC_U)
COMB(KC_VOLD, KC_VOLD, KC_H, HM_J)
COMB(KC_MUTE, KC_MUTE, KC_N, M_TH)
#endif
#ifdef SWAP_HANDS_ENABLE
COMB(swap_left, SH_TT, KC_X, KC_V)
COMB(swap_rght, SH_TT, M_TH, DOT_TH)
#endif
SUBS(vi_quit, ":q!", KC_Q, KC_W)
SUBS(vi_save, ":wq!", KC_Z, KC_X)
// layer toggles
COMB(func, TG(FNC), LT(SYM,KC_TAB), KC_B)
COMB(numb, TG(NUM), LT(NUM,KC_BSPC), KC_N)
// vimac
COMB(vimacf, C(A(S(G(KC_F)))), HM_D, HM_F)
COMB(vimacj, C(A(S(G(KC_J)))), HM_J, HM_K)