From 27a589848696510ac7916e2a50904e3fea9a9d58 Mon Sep 17 00:00:00 2001 From: lunita Date: Sat, 4 Apr 2026 23:28:52 -0400 Subject: [PATCH 1/3] basically finalized Kanata configuration for Windows --- conf.kbd | 41 +++++++++++++++++++++++++++-------------- 1 file changed, 27 insertions(+), 14 deletions(-) diff --git a/conf.kbd b/conf.kbd index 7f8424b..a92493a 100755 --- a/conf.kbd +++ b/conf.kbd @@ -9,6 +9,8 @@ FEEL FREE TO FORK!!! |# (defcfg + process-unmapped-keys yes + block-unmapped-keys yes concurrent-tap-hold yes movemouse-smooth-diagonals yes ) @@ -41,10 +43,17 @@ cho (chord ch o) chs (chord ch s) chd (chord ch d) + chf (chord ch f) + chj (chord ch j) chk (chord ch k) chl (chord ch l) ch_lalt (chord ch lalt) ch_ralt (chord ch ralt) + ;; Hyper & Meh key definition for easier reading. + hyper (multi lmet lsft lctl lalt) + meh (multi lsft lctl lalt) + ;; One-shot for alt keys to activate Hyper key for one key press + ;; os_hyper (one-shot-press 5000 @hyper) ;; Remap Caps to Win+Space (Raycast activation)/Nav layer on hold, with double tap for Caps Lock toggle navlayer (layer-while-held nav) caps (tap-hold $tap-time $hold-time (tap-dance 200 ((multi lmet spc) caps)) @navlayer) @@ -65,7 +74,7 @@ h (tap-hold $tap-time $hold-time h @fnkeys) #| MEH key when V or M are held down to allow for either hand to - use for Raycast shortcuts. + use for shortcuts. |# v (tap-hold $tap-time $hold-time v (multi lsft lctl lalt)) m (tap-hold $tap-time $hold-time m (multi lsft lctl lalt)) @@ -82,18 +91,22 @@ (defchords ch $chord-time (w ) w ;; W => W ( e) e ;; E => E - (w e) ret ;; W + E => Enter + (w e) XX ;; W + E => Enter (i ) i ;; I => I ( o) o ;; O => O - (i o) bspc ;; I + O => Backspace + (i o) XX ;; I + O => Backspace (s ) @s ;; S => S ( d) @d ;; D => D - (s d) tab ;; S + D => Tab - (k ) @k ;; K => K (See defalias) - ( l) @l ;; L => L (See defalias) - (k l) esc ;; K + L => Escape - (lalt ) (tap-dance $tap-time ((multi lsft lctl lalt lmet) lalt)) ;; LCmd => Hyper Key, LCmd × 2 => LCmd - ( ralt) (tap-dance $tap-time ((multi lsft lctl lalt lmet) ralt)) ;; RCmd => Hyper Key, RAlt × 2 => RCmd + (s d) enter ;; S + D => Tab + (f ) @f ;; F => F + (f d) tab ;; F + D => Tab + (j k) esc ;; + (j ) @j ;; J => J + (k ) @k + ( l) @l + (k l) bspc + (lalt ) (tap-dance $tap-time (@hyper lalt)) ;; LAlt => Hyper Key, LAlt × 2 => LAlt + ( ralt) (tap-dance $tap-time (@hyper ralt)) ;; LAlt => Hyper Key, LAlt × 2 => LAlt #| Put simply, the below line allows for toggling a no-bind layer for when you may require a standard layout (such as @@ -108,15 +121,15 @@ (deflayer base @caps q @chw @che r t y u @chi @cho p - @a @chs @chd @f @g @h @j @chk @chl @scln + @a @chs @chd @chf @g @h @chj @chk @chl @scln @z x c @v b n @m , . @/ @ch_lalt @spc @ch_ralt ) ;; Navigation layer (deflayer nav _ - mbck (movemouse-up 3 3) mfwd _ _ _ mlft mrgt pgup pgdn - (movemouse-left 3 3) (movemouse-down 3 3) (movemouse-right 3 3) _ home left down up right end + mbck (movemouse-up 3 2) mfwd _ _ _ mlft mrgt (mwheel-up 50 120) (mwheel-down 50 120) + (movemouse-left 3 2) (movemouse-down 3 2) (movemouse-right 3 2) _ home left down up right end _ _ _ _ _ _ _ _ _ _ _ _ _ ) @@ -140,8 +153,8 @@ (deflayer symbol _ S-1 S-2 S-3 S-4 S-5 S-6 S-7 S-8 S-9 S-0 - - S-= S-[ S-] [ ] S-` S-scln S-\ \ - = _ _ ` _ S-- _ _ ' S-' + S-\ = - S-= S-- ` S-` S-scln ' S-' + _ \ S-[ S-] S-, S-. [ ] / _ _ _ _ ) ;; Aformentioned standard layer with combo binds for toggling back From 726d29c4456ef576a8d70d71eee9eb3dcd236788 Mon Sep 17 00:00:00 2001 From: lunita Date: Sun, 5 Apr 2026 00:25:02 -0400 Subject: [PATCH 2/3] removed forward slash on symbol layer, as it's redundant as shit LOL --- conf.kbd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf.kbd b/conf.kbd index a92493a..f1cd634 100755 --- a/conf.kbd +++ b/conf.kbd @@ -154,7 +154,7 @@ _ S-1 S-2 S-3 S-4 S-5 S-6 S-7 S-8 S-9 S-0 S-\ = - S-= S-- ` S-` S-scln ' S-' - _ \ S-[ S-] S-, S-. [ ] / _ + _ \ S-[ S-] S-, S-. [ ] _ _ _ _ _ ) ;; Aformentioned standard layer with combo binds for toggling back From 981fa4a7ecca94b0d20922d932e43b42b8893fac Mon Sep 17 00:00:00 2001 From: lunita Date: Sun, 5 Apr 2026 01:08:33 -0400 Subject: [PATCH 3/3] i think we've hit endgame boys. --- conf.kbd | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/conf.kbd b/conf.kbd index f1cd634..a4d7c94 100755 --- a/conf.kbd +++ b/conf.kbd @@ -52,11 +52,9 @@ ;; Hyper & Meh key definition for easier reading. hyper (multi lmet lsft lctl lalt) meh (multi lsft lctl lalt) - ;; One-shot for alt keys to activate Hyper key for one key press - ;; os_hyper (one-shot-press 5000 @hyper) ;; Remap Caps to Win+Space (Raycast activation)/Nav layer on hold, with double tap for Caps Lock toggle navlayer (layer-while-held nav) - caps (tap-hold $tap-time $hold-time (tap-dance 200 ((multi lmet spc) caps)) @navlayer) + caps (tap-hold $tap-time $hold-time (tap-dance 200 ((multi lmet spc) @meh caps)) @navlayer) ;; Home row mods a (tap-hold $tap-time $hold-time a lmet) s (tap-hold $tap-time $hold-time s lalt) @@ -170,7 +168,7 @@ (deflayer md _ _ _ _ _ _ _ _ _ _ _ - prev pp next mute vold volu brdn brup ins del + prev pp next mute _ _ vold volu brdn brup _ _ _ _ _ _ _ _ _ _ _ _ _ )