feat: activate hjkl on tap and hold

nixos
Moritz Böhme 2024-08-30 10:28:22 +02:00
parent ea07a73d07
commit f72096b717
Signed by: moritz
GPG Key ID: 970C6E89EB0547A9
1 changed files with 5 additions and 3 deletions

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))
"; ";
}; };
}; };