basically finalized Kanata configuration for Windows

This commit is contained in:
lulusilly 2026-04-04 23:28:52 -04:00
parent a8624c8cd3
commit 27a5898486

View file

@ -9,6 +9,8 @@
FEEL FREE TO FORK!!! FEEL FREE TO FORK!!!
|# |#
(defcfg (defcfg
process-unmapped-keys yes
block-unmapped-keys yes
concurrent-tap-hold yes concurrent-tap-hold yes
movemouse-smooth-diagonals yes movemouse-smooth-diagonals yes
) )
@ -41,10 +43,17 @@
cho (chord ch o) cho (chord ch o)
chs (chord ch s) chs (chord ch s)
chd (chord ch d) chd (chord ch d)
chf (chord ch f)
chj (chord ch j)
chk (chord ch k) chk (chord ch k)
chl (chord ch l) chl (chord ch l)
ch_lalt (chord ch lalt) ch_lalt (chord ch lalt)
ch_ralt (chord ch ralt) 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 ;; Remap Caps to Win+Space (Raycast activation)/Nav layer on hold, with double tap for Caps Lock toggle
navlayer (layer-while-held nav) 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) caps)) @navlayer)
@ -65,7 +74,7 @@
h (tap-hold $tap-time $hold-time h @fnkeys) h (tap-hold $tap-time $hold-time h @fnkeys)
#| #|
MEH key when V or M are held down to allow for either hand to 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)) v (tap-hold $tap-time $hold-time v (multi lsft lctl lalt))
m (tap-hold $tap-time $hold-time m (multi lsft lctl lalt)) m (tap-hold $tap-time $hold-time m (multi lsft lctl lalt))
@ -82,18 +91,22 @@
(defchords ch $chord-time (defchords ch $chord-time
(w ) w ;; W => W (w ) w ;; W => W
( e) e ;; E => E ( e) e ;; E => E
(w e) ret ;; W + E => Enter (w e) XX ;; W + E => Enter
(i ) i ;; I => I (i ) i ;; I => I
( o) o ;; O => O ( o) o ;; O => O
(i o) bspc ;; I + O => Backspace (i o) XX ;; I + O => Backspace
(s ) @s ;; S => S (s ) @s ;; S => S
( d) @d ;; D => D ( d) @d ;; D => D
(s d) tab ;; S + D => Tab (s d) enter ;; S + D => Tab
(k ) @k ;; K => K (See defalias) (f ) @f ;; F => F
( l) @l ;; L => L (See defalias) (f d) tab ;; F + D => Tab
(k l) esc ;; K + L => Escape (j k) esc ;;
(lalt ) (tap-dance $tap-time ((multi lsft lctl lalt lmet) lalt)) ;; LCmd => Hyper Key, LCmd × 2 => LCmd (j ) @j ;; J => J
( ralt) (tap-dance $tap-time ((multi lsft lctl lalt lmet) ralt)) ;; RCmd => Hyper Key, RAlt × 2 => RCmd (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 Put simply, the below line allows for toggling a no-bind
layer for when you may require a standard layout (such as layer for when you may require a standard layout (such as
@ -108,15 +121,15 @@
(deflayer base (deflayer base
@caps @caps
q @chw @che r t y u @chi @cho p 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 , . @/ @z x c @v b n @m , . @/
@ch_lalt @spc @ch_ralt @ch_lalt @spc @ch_ralt
) )
;; Navigation layer ;; Navigation layer
(deflayer nav (deflayer nav
_ _
mbck (movemouse-up 3 3) mfwd _ _ _ mlft mrgt pgup pgdn mbck (movemouse-up 3 2) mfwd _ _ _ mlft mrgt (mwheel-up 50 120) (mwheel-down 50 120)
(movemouse-left 3 3) (movemouse-down 3 3) (movemouse-right 3 3) _ home left down up right end (movemouse-left 3 2) (movemouse-down 3 2) (movemouse-right 3 2) _ home left down up right end
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _
) )
@ -140,8 +153,8 @@
(deflayer symbol (deflayer symbol
_ _
S-1 S-2 S-3 S-4 S-5 S-6 S-7 S-8 S-9 S-0 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-scln ' S-'
= _ _ ` _ S-- _ _ ' S-' _ \ S-[ S-] S-, S-. [ ] / _
_ _ _ _ _ _
) )
;; Aformentioned standard layer with combo binds for toggling back ;; Aformentioned standard layer with combo binds for toggling back