Add ‘-’ and ‘_’ to the UPPER layout

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.
This commit is contained in:
Tom Willemse 2021-03-26 16:29:12 -07:00
parent 10bc8ec914
commit 212524c8ce

View file

@ -122,10 +122,10 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
* ,--------------------------------------------------. ,--------------------------------------------------. * ,--------------------------------------------------. ,--------------------------------------------------.
* | | 1 | 2 | 3 | 4 | 5 | | | | 6 | 7 | 8 | 9 | 0 | | * | | 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 | | * | | A | R | S | T | D |------| |------| H | N | E | I | O | |
* |--------+------+------+------+------+------| | | |------+------+------+------+------+--------| * |--------+------+------+------+------+------| _ | | |------+------+------+------+------+--------|
* | | Z | X | C | V | B | | | | K | M | | | | | * | | Z | X | C | V | B | | | | K | M | | | | |
* `--------+------+------+------+------+-------------' `-------------+------+------+------+------+--------' * `--------+------+------+------+------+-------------' `-------------+------+------+------+------+--------'
* | | | | | | | | | | | | * | | | | | | | | | | | |
@ -141,9 +141,9 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[UPPER] = LAYOUT_ergodox_pretty( [UPPER] = LAYOUT_ergodox_pretty(
// left hand // 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, 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, 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_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,