From 212524c8ce9f87b99915ef332087fef5d4020ee2 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Fri, 26 Mar 2021 16:29:12 -0700 Subject: [PATCH] =?UTF-8?q?Add=20=E2=80=98-=E2=80=99=20and=20=E2=80=98=5F?= =?UTF-8?q?=E2=80=99=20to=20the=20UPPER=20layout?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since the UPPER layout is meant to help typing in CONSTANT_IDENTIFIERS_LIKE_THIS, and meta syntactic variables LIKE-THIS (mostly in Emacs Lisp docstrings), it’s important to have the ‘-’ and ‘_’ easily accessible on the layer. --- keymap.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/keymap.c b/keymap.c index c1c6efb..80d21e2 100644 --- a/keymap.c +++ b/keymap.c @@ -122,10 +122,10 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { * ,--------------------------------------------------. ,--------------------------------------------------. * | | 1 | 2 | 3 | 4 | 5 | | | | 6 | 7 | 8 | 9 | 0 | | * |--------+------+------+------+------+-------------| |------+------+------+------+------+------+--------| - * | | Q | W | F | P | G | | | | J | L | U | Y | | | + * | | Q | W | F | P | G | - | | | J | L | U | Y | | | * |--------+------+------+------+------+------| | | |------+------+------+------+------+--------| * | | A | R | S | T | D |------| |------| H | N | E | I | O | | - * |--------+------+------+------+------+------| | | |------+------+------+------+------+--------| + * |--------+------+------+------+------+------| _ | | |------+------+------+------+------+--------| * | | Z | X | C | V | B | | | | K | M | | | | | * `--------+------+------+------+------+-------------' `-------------+------+------+------+------+--------' * | | | | | | | | | | | | @@ -140,14 +140,14 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { */ [UPPER] = LAYOUT_ergodox_pretty( // left hand - KC_TRNS, KC_1, KC_2, KC_3, KC_4, KC_5, KC_TRNS, KC_TRNS, KC_6, KC_7, KC_8, KC_9, KC_0, KC_TRNS, - KC_TRNS, S(KC_Q), S(KC_W), S(KC_F), S(KC_P), S(KC_G), KC_TRNS, KC_TRNS, S(KC_J), S(KC_L), S(KC_U), S(KC_Y), KC_TRNS, KC_TRNS, + KC_TRNS, KC_1, KC_2, KC_3, KC_4, KC_5, KC_TRNS, KC_TRNS, KC_6, KC_7, KC_8, KC_9, KC_0, KC_TRNS, + KC_TRNS, S(KC_Q), S(KC_W), S(KC_F), S(KC_P), S(KC_G), KC_MINUS, KC_TRNS, S(KC_J), S(KC_L), S(KC_U), S(KC_Y), KC_TRNS, KC_TRNS, KC_TRNS, S(KC_A), S(KC_R), S(KC_S), S(KC_T), S(KC_D), S(KC_H), S(KC_N), S(KC_E), S(KC_I), S(KC_O), KC_TRNS, - KC_TRNS, S(KC_Z), S(KC_X), S(KC_C), S(KC_V), S(KC_B), KC_TRNS, KC_TRNS, S(KC_K), S(KC_M), KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, S(KC_Z), S(KC_X), S(KC_C), S(KC_V), S(KC_B), S(KC_MINUS), KC_TRNS, S(KC_K), S(KC_M), KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS ), /* Keymap 4: Game layer *