From 4db59800c367d66974415e01ce337e4c82d14b44 Mon Sep 17 00:00:00 2001 From: jasmine Date: Tue, 15 Oct 2024 06:13:50 +0800 Subject: [PATCH] update keymap --- keyboards/40percentclub/gherkin/keymaps/sajenim/combos.def | 2 ++ keyboards/40percentclub/gherkin/keymaps/sajenim/keymap.c | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/keyboards/40percentclub/gherkin/keymaps/sajenim/combos.def b/keyboards/40percentclub/gherkin/keymaps/sajenim/combos.def index 0ec8841..3e97565 100644 --- a/keyboards/40percentclub/gherkin/keymaps/sajenim/combos.def +++ b/keyboards/40percentclub/gherkin/keymaps/sajenim/combos.def @@ -12,9 +12,11 @@ COMB(Q, KC_Q, KC_M, LT(NAV, KC_BSPC)) COMB(Z, KC_Z, LT(NUM, KC_SPC), KC_QUOT) COMB(J, KC_J, KC_QUOT, KC_QUES) +SUBS(CD, "cd ", KC_L, KC_D) SUBS(HOME, "~/", KC_D, QK_REP) SUBS(UPDIR, "../", QK_AREP, KC_O) +COMB(SLEEP, KC_SLEP, KC_B, KC_COMM, LT(SYM, KC_F), LT(SYM, KC_DOT)) SUBS(SAVE, SS_TAP(X_ESC)":w"SS_TAP(X_ENT), RCTL_T(KC_H), RSFT_T(KC_A), RALT_T(KC_E)) /* vim: set filetype=c: */ diff --git a/keyboards/40percentclub/gherkin/keymaps/sajenim/keymap.c b/keyboards/40percentclub/gherkin/keymaps/sajenim/keymap.c index 16e8c24..c77a11c 100644 --- a/keyboards/40percentclub/gherkin/keymaps/sajenim/keymap.c +++ b/keyboards/40percentclub/gherkin/keymaps/sajenim/keymap.c @@ -146,7 +146,6 @@ uint16_t get_alt_repeat_key_keycode_user(uint16_t keycode, uint8_t mods) { case KC_W: return KC_R; // "WR" sfb (0.040%) case HRM_N: return KC_F; // "NF" sfb (0.036%) case HRM_E: return KC_QUES; // "E?" sfb (0.035%) - case KC_C: return KC_D; // "CD" scissor // Magic Keycodes case SYM_F: return MG_OR;