Modify kanata

This commit is contained in:
marc committed 2024-12-04 19:30:14 +01:00
1 parent 40b3eaba12
commit 2956327b0c
2 files changed
+9 -3

No files matched your search

+8 -2
View File
@@ -20,13 +20,14 @@ in
extraDefCfg = "process-unmapped-keys yes";
config = ''
(defsrc
a s d f h j k l
caps a s d f h j k l
)
(defvar
tap-time 200
hold-time 250
)
(defalias
caps (tap-hold $tap-time $hold-time caps (layer-while-held arrows))
a (tap-hold $tap-time $hold-time a lalt)
s (tap-hold $tap-time $hold-time s lsft)
d (tap-hold $tap-time $hold-time d lmet)
@@ -36,8 +37,13 @@ in
k (tap-hold $tap-time $hold-time k rsft)
l (tap-hold $tap-time $hold-time l ralt)
)
(deflayer base
@a @s @d @f @h @j @k @l
@caps @a @s @d @f @h @j @k @l
)
(deflayer arrows
_ _ _ _ _ left down up right
)
'';
};