1
0
Fork 0
forked from forks/qmk_firmware
qmk_firmware/keyboards/splitkb/kyria/keymaps/pierrec83
Albert Y cbabc8dbe6
[Core] Replace Tapping Force Hold feature with Quick Tap Term (#17007)
* Replace Tapping Force Hold feature with Quick Tap Term

* Replace keyboard level TAPPING_FORCE_HOLD with QUICK_TAP_TERM 0

* Deprecate force hold in info_config.json

* Before and after quick tap term unit tests

* Quick tap unit tests iteration

* Keymap config.h correction

* Remove TAPPING_FORCE_HOLD_PER_KEY macros that were missed

* Add two more test cases for quick tap

* Replace TAPPING_FORCE_HOLD with QUICK_TAP_TERM in configs #2

* Replace TAPPING_FORCE_HOLD_PER_KEY with QUICK_TAP_TERM_PER_KEY in configs #2

* Add function declaration for get_quick_tap_term

Co-authored-by: Stefan Kerkmann <karlk90@pm.me>
2022-12-12 16:52:22 +01:00
..
config.h [Core] Replace Tapping Force Hold feature with Quick Tap Term (#17007) 2022-12-12 16:52:22 +01:00
encoders.c
keymap.c
keymap.json
layers.h
readme.md
rules.mk

@pierrec83's keymap for the Kyria

A comfortable for me using 34 keys.

This keymap has evolved over a period of time from iterating as I observed pain points in my interacting with my home and work computers (MacOS and Linux. I edited many of the shortcuts in MacOS to match those in Linux for consistency).

Features

  • Mouse keys with constants tuned so the keyboard usable for me as my sole pointing device
  • Homerow layers activation
  • Minimal unhoming of the thumbs (the one side thumb key I do use does not overlap with typing english or code)
  • Minimal side-index motion thanks to workman base layer and similar principles in other layers
  • Two symbol layers, both activated with one homerow key and either another key on the same hand's homerow or a key from the other hand
  • Mousing around, including left and right clicking can be done either one-handed or fully on the homerow with both hands
  • Easy chaining of common command line or vim patterns, such as ~/, (), ESC : w ENTER etc.
  • Outer pinky columns unused for ergonomic reasons
  • Common OS shortcuts like switching workspaces on gnome or MacOS easily accessible (for the shortcuts I use. This may not apply to others)

Instructions to update the keymap

For now, I am still more comfortable updating the keymap through the qmk configurator as I don't trust myself to manually keep comments describing the keymap in sync with the code itself. This means that my keymap.c is generated and not really readable. For a readble view of my keymap, one must import keymap.json into qmk configurator and use the web UI or print it.

To update the keymap,

  • Load keymap.json into qmk configurator
  • Perform any edits
  • Export the keymap. This should save a json file in ~/Downloads/pierrec83.json or equivalent for your OS
  • From the root of qmk_firmware, move the keymap to its destination:
mv ~/Downloads/pierrec83.json keyboards/kyria/keymaps/pierrec83/keymap.json
  • Regenerate the keymap.c:
qmk json2c keyboards/kyria/keymaps/pierrec83/keymap.json -o keyboards/kyria/keymaps/pierrec83/keymap.c
  • Flash the firmware (for instance, if left hand is plugged):
qmk flash -kb kyria -km pierrec83 -bl dfu-split-left

Author

I am @pierrec83 on Twitter, @pierrechevalier83 on github. I chose the shorter nickname for my keymap.