feat: activate hjkl on tap and hold

This commit is contained in:
Moritz Böhme 2024-08-30 10:28:22 +02:00
parent ea07a73d07
commit f72096b717
Signed by: moritz
GPG key ID: 970C6E89EB0547A9

View file

@ -112,9 +112,9 @@
lalt (tap-dance 200 (lmet (multi lmet alt) lmet lmet)) lalt (tap-dance 200 (lmet (multi lmet alt) lmet lmet))
;; hjkl layer ;; hjkl layer
ralt (layer-while-held hjkl) ralt (tap-hold 200 200 (layer-switch hjkl) (layer-while-held hjkl)) ;; tap: switch hold: switch while held
;; do not do fancy stuff ;; switch to normal keyboard layout
rctl (layer-switch normal) rctl (layer-switch normal)
) )
@ -125,7 +125,9 @@
h left h left
j down j down
k up k up
l right) l right
ralt (layer-switch default))
"; ";
}; };
}; };