update keymap

This commit is contained in:
♥ Minnie ♥ 2024-12-02 19:27:52 +08:00
parent 5fa73d9b32
commit a70b209e00
Signed by: jasmine
GPG key ID: 8563E358D4E8040E
5 changed files with 46 additions and 1402 deletions

View file

@ -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: */

View file

@ -11,7 +11,6 @@
#define TAPPING_TERM 175
#define PERMISSIVE_HOLD
#define QUICK_TAP_TERM 0
#define ACHORDION_STREAK
// Timeouts
#define ONESHOT_TIMEOUT 3000

File diff suppressed because it is too large Load diff

Before

Width:  |  Height:  |  Size: 112 KiB

After

Width:  |  Height:  |  Size: 52 KiB

View file

@ -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 }

View file

@ -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
//`--------------------------' `--------------------------'
),