feat(kanata): add home row mods to kanata

This commit is contained in:
Mohammad Rafiq 2025-04-05 01:14:15 +08:00
parent e94e8ee93a
commit 3128c3e14c
No known key found for this signature in database

View file

@ -10,9 +10,9 @@
(defvar (defvar
tap-timeout 200 tap-timeout 200
hold-timeout 200 home-row-hold-timeout 200
tt $tap-timeout tt $tap-timeout
ht $hold-timeout hrht $home-row-hold-timeout
) )
(deflayermap (default-layer) (deflayermap (default-layer)
@ -29,6 +29,17 @@
(macro Backspace Enter) (macro Backspace Enter)
)) ))
MetaRight) MetaRight)
;; Home Row Mods
KeyA (tap-hold-release $tt $hrht KeyA ControlLeft)
KeyS (tap-hold-release $tt $hrht KeyS ShiftLeft)
KeyD (tap-hold-release $tt $hrht KeyD AltLeft)
KeyF (tap-hold-release $tt $hrht KeyF MetaLeft)
Semicolon (tap-hold-release $tt $hrht Semicolon ControlRight)
KeyL (tap-hold-release $tt $hrht KeyL ShiftRight)
KeyK (tap-hold-release $tt $hrht KeyK AltRight)
KeyJ (tap-hold-release $tt $hrht KeyJ MetaRight)
) )
''; '';
}; };