mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-12-15 14:13:27 +00:00
69 lines
2.0 KiB
Modula-2
69 lines
2.0 KiB
Modula-2
|
// tap or long tap for different key.
|
||
|
|
||
|
// One key copy/paste
|
||
|
TP_TPL(KC_CCCV, LCTL(KC_C), LCTL(KC_V))
|
||
|
// New TaB/Window
|
||
|
TP_TPL(KC_CTCN, LCTL(KC_T), LCTL(KC_N))
|
||
|
// Close Tab-window/Quit
|
||
|
TP_TPL(KC_CWCQ, LCTL(KC_W), LCTL(KC_Q))
|
||
|
// Xmonad scratch pads or desktop
|
||
|
//TP_TPL(KC_XM_PORD, LGUI(KC_E), LGUI(KC_T))
|
||
|
|
||
|
//TP_SML(ENTNAV, KC_ENTER, SML_NAV)
|
||
|
|
||
|
|
||
|
#if defined(SECOND_LOCALE) && (SECOND_LOCALE == BEPO) || (DEFAULT_LANG == BEPO)
|
||
|
TP_TPL(BP_CCCV, LCTL(BP_C), LCTL(BP_V))
|
||
|
TP_TPL(BP_CTCN, LCTL(BP_T), LCTL(BP_N))
|
||
|
TP_TPL(BP_CWCQ, LCTL(BP_W), LCTL(BP_Q))
|
||
|
TP_TPL(BP_XM_PORD, LGUI(BP_E), LGUI(BP_T))
|
||
|
|
||
|
TP_TPL(BP_C_CCED, BP_C, BP_CCED)
|
||
|
#endif
|
||
|
|
||
|
|
||
|
#if defined(SECOND_LOCALE) && (SECOND_LOCALE == US_INT) || (DEFAULT_LANG == US_INT)
|
||
|
TP_TPL(US_CCCV, LCTL(US_C), LCTL(US_V))
|
||
|
TP_TPL(US_CTCN, LCTL(US_T), LCTL(US_N))
|
||
|
TP_TPL(US_CWCQ, LCTL(US_W), LCTL(US_Q))
|
||
|
TP_TPL(US_XM_PORD, LGUI(US_E), LGUI(US_T))
|
||
|
|
||
|
TP_TPL(US_C_CCED, US_C, US_CCED)
|
||
|
#endif
|
||
|
|
||
|
// Open on tap and Open with close and back arrow on hold.
|
||
|
// (){}[]""''``<>
|
||
|
# if defined(SECOND_LOCALE) && (SECOND_LOCALE == EN) || (DEFAULT_LANG == EN)
|
||
|
OPEN_OCL(KC_OCPRN, KC_LPRN, KC_RPRN)
|
||
|
OPEN_OCL(KC_OCBRC, KC_LBRC, KC_RBRC)
|
||
|
OPEN_OCL(KC_OCCBR, KC_LCBR, KC_RCBR)
|
||
|
OPEN_OCL(KC_OCDQUO, KC_DQUO, KC_DQUO)
|
||
|
OPEN_OCL(KC_OCQUOT, KC_QUOT, KC_QUOT)
|
||
|
OPEN_OCL(KC_OCGRV, KC_GRAVE, KC_GRAVE)
|
||
|
OPEN_OCL(KC_OCLTGT, KC_LT, KC_GT)
|
||
|
#endif
|
||
|
|
||
|
|
||
|
#if defined(SECOND_LOCALE) && (SECOND_LOCALE == BEPO) || (DEFAULT_LANG == BEPO)
|
||
|
OPEN_OCL(BP_OCPRN, BP_LPRN, BP_RPRN)
|
||
|
OPEN_OCL(BP_OCBRC, BP_LBRC, BP_RBRC)
|
||
|
OPEN_OCL(BP_OCCBR, BP_LCBR, BP_RCBR)
|
||
|
OPEN_OCL(BP_OCDQUO, BP_DQUO, BP_DQUO)
|
||
|
OPEN_OCL_ND(BP_OCQUOT, BP_QUOT, BP_QUOT)
|
||
|
OPEN_OCL(BP_OCGRV, BP_GRV, BP_GRV)
|
||
|
OPEN_OCL(BP_OCLTGT, BP_LT, BP_GT)
|
||
|
#endif
|
||
|
|
||
|
|
||
|
|
||
|
#if defined(SECOND_LOCALE) && (SECOND_LOCALE == US_INT) || (DEFAULT_LANG == US_INT)
|
||
|
OPEN_OCL(US_OCPRN, US_LPRN, US_RPRN)
|
||
|
OPEN_OCL(US_OCBRC, US_LBRC, US_RBRC)
|
||
|
OPEN_OCL(US_OCCBR, US_LCBR, US_RCBR)
|
||
|
OPEN_OCL(US_OCDQUO, US_DQUO, US_DQUO)
|
||
|
|
||
|
OPEN_OCL_ND(US_OCQUOT, US_QUOT, US_QUOT)
|
||
|
OPEN_OCL(US_OCGRV, US_GRV, US_GRV)
|
||
|
OPEN_OCL(US_OCLTGT, US_LT, US_GT)
|
||
|
#endif
|