From 77dde02b7b6638ed7d93b9204e23035d8dd351ca Mon Sep 17 00:00:00 2001 From: Deon Spengler Date: Tue, 26 Jan 2021 09:21:38 +0200 Subject: [PATCH] Added leader squence that pastes text from the primary buffer. --- keyboards/handwired/adept42/keymaps/micro/keymap.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/keyboards/handwired/adept42/keymaps/micro/keymap.c b/keyboards/handwired/adept42/keymaps/micro/keymap.c index a57683bf45..7c150502e9 100644 --- a/keyboards/handwired/adept42/keymaps/micro/keymap.c +++ b/keyboards/handwired/adept42/keymaps/micro/keymap.c @@ -178,6 +178,14 @@ void matrix_scan_user(void) { layer_on(4); } + // paste text from primary buffer + SEQ_ONE_KEY(KC_I) { + register_code(KC_LSFT); + register_code(KC_INS); + unregister_code(KC_INS); + unregister_code(KC_LSFT); + } + SEQ_TWO_KEYS(KC_P, KC_W) { SEND_STRING("https://www.deonsworld.co.za\n"); }