qmk_keymaps/keyboards/crkbd/keymaps/sajenim/leader.c

17 lines
387 B
C
Raw Normal View History

2024-02-05 11:03:45 +08:00
/* If youre a Vim user, you probably know what a Leader key is. */
#include "quantum.h"
void leader_end_user(void) {
/* Type some strings */
// (E)mail (O)utlook
if (leader_sequence_two_keys(KC_E, KC_O)) {
SEND_STRING("jasmine.wilson@outlook.com.au");
}
// (E)mail (P)roton
else if (leader_sequence_two_keys(KC_E, KC_P)) {
SEND_STRING("its.jassy@pm.me");
}
}