Update kanata config to use tap-hold-press instead of tap-hold

This commit is contained in:
2024-11-04 14:45:38 -10:00
parent 3c6e775449
commit bb951c4cd2
2 changed files with 14 additions and 3 deletions

View File

@@ -7,4 +7,5 @@ general.allow_concurrent_presets = false
[presets."Main config"] [presets."Main config"]
kanata_config = "~/.config/kanata/config.kbd" kanata_config = "~/.config/kanata/config.kbd"
tcp_port = 5829 tcp_port = 5829
autorun = true

View File

@@ -1,8 +1,18 @@
(defsrc (defsrc
caps) grave 1 2 3 4 5 6 7 8 9 0 - = bspc
tab q w e r t y u i o p [ ] \
caps a s d f g h j k l ; ' ret
lsft z x c v b n m , . / rsft
lctl lmet lalt spc ralt rmeta rctl
)
(defalias (defalias
capsctrl (tap-hold 200 200 caps lctl)) capsctrl (tap-hold-press 200 200 caps lctl))
(deflayer base (deflayer base
@capsctrl) _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _
@capsctrl _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _
)