Update kanata config to use tap-hold-press instead of tap-hold
This commit is contained in:
@@ -7,4 +7,5 @@ general.allow_concurrent_presets = false
|
||||
[presets."Main config"]
|
||||
kanata_config = "~/.config/kanata/config.kbd"
|
||||
tcp_port = 5829
|
||||
autorun = true
|
||||
|
||||
|
||||
@@ -1,8 +1,18 @@
|
||||
(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
|
||||
capsctrl (tap-hold 200 200 caps lctl))
|
||||
capsctrl (tap-hold-press 200 200 caps lctl))
|
||||
|
||||
(deflayer base
|
||||
@capsctrl)
|
||||
_ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||||
_ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||||
@capsctrl _ _ _ _ _ _ _ _ _ _ _ _
|
||||
_ _ _ _ _ _ _ _ _ _ _ _
|
||||
_ _ _ _ _ _ _
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user