commit 0c8b60ea1d49736a39ebcf001b3096e8c115e042
parent c3d7dffe7b84d5c6f7f06e578a4e55043d853732
Author: dwrz <dwrz@dwrz.net>
Date: Mon, 18 Mar 2024 23:14:58 +0000
Refactor keymap
Diffstat:
3 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/qmk/equals48/config.h b/qmk/equals48/config.h
@@ -1,3 +1,5 @@
+#define BOTH_SHIFTS_TURNS_ON_CAPS_WORD
+#define CAPS_WORD_IDLE_TIMEOUT 0
#define MK_COMBINED
#define RGB_MATRIX_DEFAULT_HUE 0
#define RGB_MATRIX_DEFAULT_MODE RGB_MATRIX_SOLID_COLOR
diff --git a/qmk/equals48/keymap.c b/qmk/equals48/keymap.c
@@ -4,8 +4,8 @@
#define LT_NAV LT(_NAV, KC_A)
#define LT_NUM LT(_NUM, KC_E)
#define LT_SYM LT(_SYMBOL, KC_O)
-#define S_MINS LSFT_T(KC_MINS)
-#define S_PLUS RSFT_T(KC_PPLS)
+#define S_MINS MT(MOD_LSFT, KC_MINS)
+#define S_PLUS MT(MOD_RSFT, KC_PPLS)
enum layers {
_MAIN,
diff --git a/qmk/equals48/rules.mk b/qmk/equals48/rules.mk
@@ -1 +1,2 @@
# REPEAT_KEY_ENABLE = yes
+CAPS_WORD_ENABLE = yes