summaryrefslogtreecommitdiffstats
path: root/users/twschum
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-10-11 06:06:26 +1100
committerGitHub <noreply@github.com>2022-10-10 20:06:26 +0100
commitc6f1b594a2085e67219bd5f0f7ba7898429d331c (patch)
tree615d8b6253c8c07beda12676f8cdbdcf2fa837a9 /users/twschum
parentc87bc929086d41daf804c10d02ec7ee1fca61a4a (diff)
Remove legacy keycodes, part 2 (#18660)
* `KC_SYSREQ` -> `KC_SYRQ` And one `KC_ALT_ERASE` -> `KC_ERAS` * `KC_NONUS_BSLASH` -> `KC_NUBS` * `KC_NUMLOCK` -> `KC_NUM` * `KC_CLCK` -> `KC_CAPS` * `KC_SCROLLLOCK` -> `KC_SCRL` * `KC_LBRACKET` -> `KC_LBRC` * `KC_RBRACKET` -> `KC_RBRC` * `KC_CAPSLOCK` -> `KC_CAPS`
Diffstat (limited to 'users/twschum')
-rw-r--r--users/twschum/xtonhasvim.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/users/twschum/xtonhasvim.c b/users/twschum/xtonhasvim.c
index a1adf39f04..15d1b0d940 100644
--- a/users/twschum/xtonhasvim.c
+++ b/users/twschum/xtonhasvim.c
@@ -70,7 +70,7 @@ static void comma_period(uint16_t keycode) {
case VIM_COMMA:
if (SHIFTED) {
// indent
- tap_code16(LGUI(KC_LBRACKET));
+ tap_code16(LGUI(KC_LEFT_BRACKET));
} else {
// toggle comment
tap_code16(LGUI(KC_SLASH));
@@ -79,7 +79,7 @@ static void comma_period(uint16_t keycode) {
case VIM_PERIOD:
if (SHIFTED) {
// outdent
- tap_code16(LGUI(KC_RBRACKET));
+ tap_code16(LGUI(KC_RIGHT_BRACKET));
}
break;
}