;; Basic home row mods example using QWERTY ;; And approximation for a numeric keypad (defcfg process-unmapped-keys yes tray-icon kanata-icon.svg ) (defsrc 9 0 w u i o p a s d f j k l ; x b n m , . / ) (defvar tap-time 350 hold-time 300) (defalias w (tap-hold $tap-time $hold-time w ralt) o (tap-hold $tap-time $hold-time o ralt) a (tap-hold $tap-time $hold-time a lmet) s (tap-hold $tap-time $hold-time s lalt) d (tap-hold $tap-time $hold-time d lctl) f (tap-hold $tap-time $hold-time f lsft) j (tap-hold $tap-time $hold-time j rsft) k (tap-hold $tap-time $hold-time k rctl) l (tap-hold $tap-time $hold-time l lalt) ; (tap-hold $tap-time $hold-time ; rmet) x (tap-hold $tap-time $hold-time x (layer-while-held numeric)) ) (deflayer (base 🖻 kanata-icon.svg) _ _ @w _ _ @o _ @a @s @d @f @j @k @l @; @x _ _ _ _ _ _ ) (deflayer (numeric 🖻 numeric.png) kp/ kp* _ kp7 kp8 kp9 kp- _ _ _ _ kp4 kp5 kp6 kp+ _ kp. kp0 kp1 kp2 kp3 kprt )