feat: make keyboard layout better for helix

This commit is contained in:
Moritz Böhme 2025-05-29 09:52:45 +02:00
parent e69d9f410f
commit d260f9a98c
No known key found for this signature in database
GPG key ID: 970C6E89EB0547A9

View file

@ -126,22 +126,21 @@
;; caps-word tap-dance
lsft (tap-dance 200 (_ (caps-word 2000) _ _))
;; switch to normal keyboard layout
lctl (layer-switch normal)
;; change ctrl alt and meta
lctl lalt
lmet lctl
lalt (tap-dance 200 (lmet (multi lmet alt) lmet lmet))
ralt lalt
;; hjkl layer
ralt (tap-hold 200 200 (layer-switch hjkl) (layer-while-held hjkl)) ;; tap: switch hold: switch while held
;; switch to normal keyboard layout
rctl (layer-switch normal)
rctl (tap-hold 200 200 (layer-switch layer1) (layer-while-held layer1))
)
(deflayermap (normal)
rctl (layer-switch default))
(deflayermap (hjkl)
(deflayermap (layer1)
h left
j down
k up