diff --git a/chocofi/README.org b/chocofi/README.org index e147edf..d3d6681 100644 --- a/chocofi/README.org +++ b/chocofi/README.org @@ -17,7 +17,17 @@ is spent in VSCode. Therefore, often used combos like =Ctrl+f=, =Ctrl+h= (find an replace) and their shifted variants (find/replace in project) are available in the =NAV= layer with single keystrokes. -[[./qmk-config.png]] +[[./keymap.svg]] + +Visualize with [[https://github.com/caksoylar/keymap-drawer][Keymap-drawer]]: + +#+begin_src sh + pipx install keymap-drawer + cd ~/git/qmk_firmware + qmk c2json --no-cpp ~/git/qmk_firmware/keyboards/crkbd/rev1/keymaps/choc_colemak_36/keymap.c | keymap -c ~/git/keyboard-config/atreus/drawer-config.yaml parse -c 10 -q - >~/git/keyboard-config/chocofi/keymap.yaml + keymap -c ~/git/qmk_firmware/keyboards/keyboardio/atreus/drawer-config.yaml draw ~/git/keyboard-config/chocofi/keymap.yaml >~/git/keyboard-config/chocofi/keymap.svg +#+end_src + ** Setup @@ -37,7 +47,7 @@ Most other microcontrollers want to be directly connected and flashed via USB. qmk compile --keyboard=crkbd/rev1 --keymap=choc_colemak_36 -e CONVERT_TO=promicro_rp2040 sudo mount /dev/sdb? /mnt/ sudo cp crkbd_rev1_choc_colemak_36_promicro_rp2040.uf2 /mnt/ - sudo umount /mnt + sudo umount /mnt #+end_src ** TODO Missing stuff @@ -47,22 +57,23 @@ Most other microcontrollers want to be directly connected and flashed via USB. - remove HomeRowMods from FUN_NAV layer - add useful shortcuts to the new PURE_NAV layer (e.g. WM_keys) - backtick key -- umlauts and sharp s -- euro € key +- smart shift on a thumb key, to avoid weird situations with home-row-shift +- smart num, to avoid weird taps for the num layer when typing commas and dots +https://github.com/urob/zmk-config + ** Ideas for improvement - for nav layer, maybe add combined keys for Ctrl+Shift, Ctrl+Alt and Shift+Alt +- add OLED screen to show current layer, I see this as a prerequisite to add gaming layer(s) - this seems like a great example of composed layers and support for different environments https://github.com/0x64746b/qmk_firmware/blob/chocofi/keyboards/chocofi/keymaps/dtk35/keymap.c -- https://github.com/qmk/qmk_firmware/blob/master/layouts/community/ergodox/german-kinergo/keymap.c#L101 - https://github.com/manna-harbour/miryoku_qmk/blob/miryoku/users/manna-harbour_miryoku/readme.org - HomeRowMods/BottomRowMods and other ideas: https://www.reddit.com/r/ErgoMechKeyboards/comments/tiejpp/home_row_mods_what_works_for_you/ - https://precondition.github.io/home-row-mods#implementation - split up =SYM_NUM= layer, move missing symbols (from NAV layer to SYMBOLS layer) - hints for better symbols layers: https://getreuer.info/posts/keyboards/symbol-layer/index.html - make =.= and =,= available in new =NUM= layer for easier number input -- build a dedicated GUI Nav layer for i3wm/sway +- build a dedicated GUI Nav layer for sway - and probably Windows/KDE window actions - make =select words= work (by emulating Ctrl+Shift+Left/Right) - diff --git a/chocofi/keymap.svg b/chocofi/keymap.svg new file mode 100644 index 0000000..930a5c0 --- /dev/null +++ b/chocofi/keymap.svg @@ -0,0 +1,760 @@ + + + +L0: + + + +Q + + + +W + + + +F + + + +P + + + +B + + + +J + + + +L + + + +U + + + +Z + + + +BSPC + + + +A + + + + +HALTR + + + + + +HSFTS + + + + + +HCTLT + + + + +G + + + + +HMOUM + + + + + +HCTLN + + + + + +HSFTE + + + + + +HALTI + + + + +O + + + +Y + + + +X + + + +C + + + +D + + + +V + + + +K + + + +H + + + +, + + + +. + + + +/ + + + +THUMB1 + + + +THUMB2 + + + +THUMB3 + + + +THUMB4 + + + +THUMB5 + + + +THUMB6 + + + + +L1: + + + +! + + + +" + + + +? + + + +% + + + +$ + + + +/ + + + +7 + + + +8 + + + +9 + + + ++ + + + +< + + + +{ + + + +( + + + +[ + + + +' + + + +* + + + +4 + + + +5 + + + +6 + + + +- + + + +> + + + +} + + + +) + + + +] + + + +# + + + +0 + + + +1 + + + +2 + + + +3 + + + += + + + +| + + + +~ + + + +& + + + + + + + +, + + + +. + + + + +L2: + + + +\ + + + +F7 + + + +F8 + + + +F9 + + + +F10 + + + + +Ctl+F + + + + +HOME + + + +UP + + + +END + + + +PGUP + + + + +HGUIAT + + + + + +HALTF4 + + + + + +HSFTF5 + + + + + +HCTLF6 + + + + +F11 + + + + +HMOULEFT + + + + +DOWN + + + +UP + + + +RIGHT + + + +PGDN + + + +@ + + + +F1 + + + +F2 + + + +F3 + + + +F12 + + + + +Ctl+H + + + + +PGDN + + + +PGUP + + + + +Ctl+Sft+H + + + + + +Ctl+P + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +L3: + + + + + + + + + + +MSU + + + + + + + + + + + + + + + + +UDIA + + + + + + + + + +ADIA + + + + +MSL + + + + + +MSD + + + + + +MSR + + + + +BTN3 + + + + + + + +VOLD + + + +MUTE + + + +VOLU + + + +ODIA + + + + + + + +WHL + + + + + + + + +WHR + + + + + + + +MPRV + + + +MSTP + + + +MPLY + + + +MNXT + + + + + + + + + + +BTN1 + + + + +WHD + + + + + +WHU + + + + +BTN2 + + + + + + + + diff --git a/chocofi/qmk-config.png b/chocofi/qmk-config.png deleted file mode 100644 index ae10532..0000000 Binary files a/chocofi/qmk-config.png and /dev/null differ