Remove legacy keycodes, part 6 (#18740)

* `KC_RSHIFT` -> `KC_RSFT`

* `KC_RCTRL` -> `KC_RCTL`

* `KC_LSHIFT` -> `KC_LSFT`

* `KC_LCTRL` -> `KC_LCTL`
This commit is contained in:
Ryan
2022-10-17 00:14:40 +11:00
committed by GitHub
parent 39c22f5cf5
commit 74223c34a9
553 changed files with 1139 additions and 1151 deletions

View File

@@ -64,37 +64,37 @@ void matrix_scan_user(void) {
// Close a program in i3wm
SEQ_ONE_KEY(KC_Q) {
register_code(KC_LGUI);
register_code(KC_LSHIFT);
register_code(KC_LSFT);
register_code(KC_Q);
unregister_code(KC_Q);
unregister_code(KC_LSHIFT);
unregister_code(KC_LSFT);
unregister_code(KC_LGUI);
}
// Exit i3wm
SEQ_ONE_KEY(KC_E) {
register_code(KC_LGUI);
register_code(KC_LSHIFT);
register_code(KC_LSFT);
register_code(KC_E);
unregister_code(KC_E);
unregister_code(KC_LSHIFT);
unregister_code(KC_LSFT);
unregister_code(KC_LGUI);
}
// Copy selected text in suckless terminal
SEQ_ONE_KEY(KC_C) {
register_code(KC_LCTL);
register_code(KC_LSHIFT);
register_code(KC_LSFT);
register_code(KC_C);
unregister_code(KC_C);
unregister_code(KC_LSHIFT);
unregister_code(KC_LSFT);
unregister_code(KC_LCTL);
}
// Paste text in suckless terminal
SEQ_ONE_KEY(KC_V) {
register_code(KC_LCTL);
register_code(KC_LSHIFT);
register_code(KC_LSFT);
register_code(KC_V);
unregister_code(KC_V);
unregister_code(KC_LSHIFT);
unregister_code(KC_LSFT);
unregister_code(KC_LCTL);
}
// FZF shortcut to fuzzy switch directories