Skip to content

Instantly share code, notes, and snippets.

@twalker
Created December 28, 2023 23:05
Show Gist options
  • Save twalker/d66ebf90903dd55d8187e0427d92bef7 to your computer and use it in GitHub Desktop.
Save twalker/d66ebf90903dd55d8187e0427d92bef7 to your computer and use it in GitHub Desktop.
tw2k's base keymap

tw2k's base keymap

legend

abbreviation definition
CDH base layer
MAC Macros one-shot layer
# numbers layer
ESC$ escape on tap, symbols layer on hold
N navigation layer
SN space on tap, navigation layer on hold
BN backspace on tap, navigation layer on hold
EW enter on tap, window management layer on hold
MSE Mouse layer

base layer (Colemak DH)

CDH
Q W F P B J L U Y '
ESC A* R S T G M N E I O
MAC Z X C D V K H , . /
# ESC$ BN SN MSE WIN
  • Uses symmetrical homerow mods, in the order of Ctrl, Alt, Gui, Shift (CAGS).

navigation layer - (N)

NAV
PG ⬆️ ⬆️ INS
CTRL ALT GUI SHFT HOME ⬅️ ⬇️ ➡️ END
UNDO CUT COPY MENU PSTE ⬅️ tab PG ⬇️ tab ➡️
DEL TAB

Common shortcuts (COPY, PSTE, etc.) adapt based on whether is_macos is enabled.

symbols layer ($)

SYM
! @ { } | & * < > '
# $ ( ) ` - = + _ ;
% ^ [ ] ~ / : , . /

numbers layer (#)

NUM
F1 F2 F3 F4 7 8 9
F5 F6 F7 F8 4 5 6
F9 F10 F11 F12 1 2 3
0 .

window/media layer (EW)

Keyboard shortcuts vary by OS. Shortcuts are for rectangle when is_macos is enabled, and Pop! OS tiling manager when is_macos is disabled.

Maps rectangle keyboard shortcuts to positional grid.

WIN
VOLU BT CLR ZOOM IN ⬆️ LG
PREV PLAY NEXT BT 0 SCRNSHOT ⬅️ ⬇️ ➡️ FULL
VOLD MUTE BT 1 ZOOM OUT SM

mouse layer (MSE)

MSE
⬆️ SPD* WH ⬆️
⬅️ ⬇️ ➡️ WH ⬅️ BTN1 BTN3 BTN2 WH ➡️
WH ⬇️
Ctrl Shift

macro layer (MAC)

MAC
RESET PLAY1 PLAY2 USER RESET
STOP MAC_OS EMAIL
REC1 REC2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment