feat: make keyboard layout better for helix
This commit is contained in:
parent
e69d9f410f
commit
d260f9a98c
1 changed files with 6 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue