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

17 lines
387 B
C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/* 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");
}
}