From a70b209e00cd38bc035c99bae4df36a35d2deaa5 Mon Sep 17 00:00:00 2001 From: jasmine Date: Mon, 2 Dec 2024 19:27:52 +0800 Subject: [PATCH] update keymap --- keyboards/crkbd/keymaps/sajenim/combos.def | 10 - keyboards/crkbd/keymaps/sajenim/config.h | 1 - .../crkbd/keymaps/sajenim/corne_keymap.svg | 1406 +---------------- .../crkbd/keymaps/sajenim/corne_keymap.yaml | 27 +- keyboards/crkbd/keymaps/sajenim/keymap.c | 4 +- 5 files changed, 46 insertions(+), 1402 deletions(-) diff --git a/keyboards/crkbd/keymaps/sajenim/combos.def b/keyboards/crkbd/keymaps/sajenim/combos.def index 3422523..d3043d2 100644 --- a/keyboards/crkbd/keymaps/sajenim/combos.def +++ b/keyboards/crkbd/keymaps/sajenim/combos.def @@ -1,17 +1,7 @@ // clang-format off // name result 1st chord key 2nd chord key 3rd chord key -SUBS(LY_CD, "cd ", KC_L, KC_Y) -SUBS(YP_LS, "ls ", KC_Y, KC_P) -SUBS(FO_HOME, "~/", KC_F, KC_O) -SUBS(OU_UPDIR, "../", KC_O, KC_U) -COMB(RS_TAB, KC_TAB, LCTL_T(KC_R), LALT_T(KC_S)) -COMB(ST_BSPC, KC_BSPC, LALT_T(KC_S), LGUI_T(KC_T)) COMB(NE_ESC, KC_ESC, RGUI_T(KC_N), RALT_T(KC_E)) -COMB(EI_ENT, KC_ENT, RALT_T(KC_E), RCTL_T(KC_I)) -SUBS(NEI_SAVE, SS_TAP(X_ESC)":w"SS_TAP(X_ENT), RGUI_T(KC_N), RALT_T(KC_E), RCTL_T(KC_I)) -SUBS(JV_COLN, ":", KC_J, KC_V) -SUBS(SLSDOT_SCLN, ";", KC_SLSH, KC_COMM) COMB(CA_CAP, CW_TOGG, LSFT_T(KC_C), RSFT_T(KC_A)) /* vim: set filetype=c: */ diff --git a/keyboards/crkbd/keymaps/sajenim/config.h b/keyboards/crkbd/keymaps/sajenim/config.h index e5acd5b..4f0de7d 100644 --- a/keyboards/crkbd/keymaps/sajenim/config.h +++ b/keyboards/crkbd/keymaps/sajenim/config.h @@ -11,7 +11,6 @@ #define TAPPING_TERM 175 #define PERMISSIVE_HOLD #define QUICK_TAP_TERM 0 -#define ACHORDION_STREAK // Timeouts #define ONESHOT_TIMEOUT 3000 diff --git a/keyboards/crkbd/keymaps/sajenim/corne_keymap.svg b/keyboards/crkbd/keymaps/sajenim/corne_keymap.svg index 2903f44..9657591 100644 --- a/keyboards/crkbd/keymaps/sajenim/corne_keymap.svg +++ b/keyboards/crkbd/keymaps/sajenim/corne_keymap.svg @@ -1,4 +1,4 @@ - + +https://git.sajenim.dev/jasmine/qmk_keymaps diff --git a/keyboards/crkbd/keymaps/sajenim/corne_keymap.yaml b/keyboards/crkbd/keymaps/sajenim/corne_keymap.yaml index 9c140fb..977d6f4 100644 --- a/keyboards/crkbd/keymaps/sajenim/corne_keymap.yaml +++ b/keyboards/crkbd/keymaps/sajenim/corne_keymap.yaml @@ -1,21 +1,22 @@ + layout: qmk_keyboard: crkbd/rev1 qmk_layout: LAYOUT_split_3x6_3 layers: Canary: - - [{type: ghost, t: Esc}, W, L, Y, P, B, Z, F, O, U, "'", {type: ghost, t: Bspc}] - - [{type: ghost, t: Tab}, {h: Gui, t: C}, {h: Alt, t: R}, {h: Sft, t: S}, {h: Ctl, t: T}, G, M, {h: Ctl, t: N}, {h: Sft, t: E}, {h: Alt, t: I}, {h: Gui, t: A}, {type: ghost, t: Enter}] + - [{type: ghost, t: Esc}, W, L, Y, P, B, Z, F, O, U, "'", {type: ghost, t: Ctrl Bspc}] + - [{type: ghost, t: Tab}, {h: Sft, t: C}, {h: Ctl, t: R}, {h: Alt, t: S}, {h: Gui, t: T}, G, M, {h: Gui, t: N}, {h: Alt, t: E}, {h: Ctl, t: I}, {h: Sft, t: A}, {type: ghost, t: Enter}] - [{type: ghost, t: osm Shift}, Q, J, V, {h: Sym, t: D}, K, X, {h: Sym, t: H}, "/", ",", ".", {type: ghost, t: osm Shift}] - - {type: ghost} + - osm Gui - {h: Nav, t: Repeat} - - Ctrl Bspc + - Bspc - Space - {h: Num, t: Magic} - - {type: ghost} + - osm Alt Nav: - - [null, Media Play, Media Stop, Media Prev, Media Next, Vol Up, PgUp, Home, ▲, End, Term Copy, {type: ghost, t: Del}] - - [null, osm Gui, osm Alt, osm Sft, osm Ctl, Vol Down, PgDn, ◄, ▼, ►, Term Paste, {type: trans, t: Enter}] + - [null, Media Play, Media Stop, Media Prev, Media Next, Vol Up, Copy Mode, Home, ▲, End, PgUp, {type: ghost, t: Del}] + - [null, osm Gui, osm Alt, osm Sft, osm Ctl, Vol Down, Shift Paste, ◄, ▼, ►, PgDn, {type: trans, t: Enter}] - [null, Undo, Cut, Copy, Paste, Calc, WS0, WS1, WS2, WS3, WS4, {type: ghost, t: WS5}] - null - {type: held} @@ -36,7 +37,7 @@ layers: - null Sym: - - [null, "`", "<", "-", ">", null, null, "[", "_", "]", "...", null] + - [null, "`", "<", "-", ">", null, null, "[", "_", "]", "+", null] - [null, "!", "(", "=", ")", "#", "%", "{", "$", "}", ";", null] - [null, ":", "&", "^", {type: held, t: "@"}, null, null, {type: held, t: "*"}, "/", "\\", "|", null] - null @@ -58,15 +59,5 @@ layers: - null combos: - - { p: [2, 3], k: CD } - - { p: [3, 4], k: LS } - - { p: [7, 8], k: "~/" } - - { p: [8, 9], k: "../" } - - { p: [14, 15], k: Tab } - - { p: [15, 16], k: Bspc } - { p: [19, 20], k: Esc } - - { p: [20, 21], k: Enter } - - { p: [19, 20, 21], k: Vim Save } - - { p: [26, 27], k: ":" } - - { p: [32, 33], k: ";" } - { p: [15, 20], k: Caps Word } \ No newline at end of file diff --git a/keyboards/crkbd/keymaps/sajenim/keymap.c b/keyboards/crkbd/keymaps/sajenim/keymap.c index 9d5e051..6cb3ec6 100644 --- a/keyboards/crkbd/keymaps/sajenim/keymap.c +++ b/keyboards/crkbd/keymaps/sajenim/keymap.c @@ -80,13 +80,13 @@ enum custom_keycodes { const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { [CANARY] = LAYOUT_split_3x6_3( //,-----------------------------------------------------. ,-----------------------------------------------------. - QK_GESC, KC_W, KC_L, KC_Y, KC_P, KC_B, KC_Z, KC_F, KC_O, KC_U, KC_QUOT, KC_BSPC, + QK_GESC, KC_W, KC_L, KC_Y, KC_P, KC_B, KC_Z, KC_F, KC_O, KC_U, KC_QUOT, DELWORD, //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------| KC_TAB, HRM_C, HRM_R, HRM_S, HRM_T, KC_G, KC_M, HRM_N, HRM_E, HRM_I, HRM_A, KC_ENT, //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------| OS_LSFT, KC_Q, KC_J, KC_V, HRM_D, KC_K, KC_X, HRM_H, KC_SLSH, KC_COMM, KC_DOT, OS_RSFT, //|--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------| - OS_LGUI, NAV_REP, DELWORD, KC_SPC, NUM_MAG, OS_RALT + OS_LGUI, NAV_REP, KC_BSPC, KC_SPC, NUM_MAG, OS_RALT //`--------------------------' `--------------------------' ),