From 050472a4d07d07c1d9ae17d2fd26d44e9d95d950 Mon Sep 17 00:00:00 2001
From: Eric Gebhart <e.a.gebhart@gmail.com>
Date: Sat, 12 Nov 2022 00:09:41 +0100
Subject: Eric Gebhart user space and keymaps (#17487)

Co-authored-by: Drashna Jaelre <drashna@live.com>
---
 users/ericgebhart/defs/tap_hold.def | 68 +++++++++++++++++++++++++++++++++++++
 1 file changed, 68 insertions(+)
 create mode 100644 users/ericgebhart/defs/tap_hold.def

(limited to 'users/ericgebhart/defs/tap_hold.def')

diff --git a/users/ericgebhart/defs/tap_hold.def b/users/ericgebhart/defs/tap_hold.def
new file mode 100644
index 0000000000..54140b99f8
--- /dev/null
+++ b/users/ericgebhart/defs/tap_hold.def
@@ -0,0 +1,68 @@
+// 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
-- 
cgit v1.2.3

