Skip to content

Commit

Permalink
[Keymap] arkag userspace/keymap -- new macro and minor preonic keymap…
Browse files Browse the repository at this point in the history
… change (#14623)

Co-authored-by: Ryan <[email protected]>
  • Loading branch information
arkag and fauxpark committed Sep 28, 2021
1 parent ac1d48c commit bc81835
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions keyboards/preonic/keymaps/arkag/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {

[_QWERTY] = LAYOUT_preonic_grid(
M_EHYPR, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, M_EHYPR,
KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, XXXXXXX,
KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT,
KC_LCTL, KC_LGUI, KC_LALT, MEDIA, SYMBOL, KC_SPC, M_LMHYP, ARROW, FUNCT, XXXXXXX, KC_RALT, KC_LEAD),
KC_LCTL, KC_LGUI, KC_LALT, MEDIA, SYMBOL, KC_SPC, KC_LEAD, ARROW, FUNCT, XXXXXXX, KC_RALT, KC_LEAD),

[_SYMBOL] = LAYOUT_preonic_grid(
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
Expand Down
4 changes: 4 additions & 0 deletions users/arkag/arkag.c
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,10 @@ void matrix_scan_user(void) {
// end format functions

// start fancy functions
SEQ_TWO_KEYS(KC_V, KC_P) {
SEND_STRING("ggvG}x:set paste\ni");
pri_mod_keystroke(KC_V);
}
SEQ_THREE_KEYS(KC_C, KC_C, KC_ENT) {
surround_type(6, KC_GRAVE, false);
pri_mod_keystroke(KC_V);
Expand Down

0 comments on commit bc81835

Please sign in to comment.