Kanata config
unknown
plain_text
8 months ago
4.0 kB
28
No Index
(defcfg process-unmapped-keys yes ) (defsrc esc f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 nubs 1 2 3 4 5 6 7 8 9 0 - = bspc tab q w e r t y u i o p [ ] caps a s d f g h j k l ; ' \ lsft grv z x c v b n m , . / rsft up fn lctl lalt lmet spc rmet ralt left down rght ) (defvar ;; Note: consider using different time values for your different fingers. ;; For example, your pinkies might be slower to release keys and index ;; fingers faster. tap-time 250 hold-time 200 hold-time-short 130 ;; Used in accordion home row mods (don't need them for now) ;; left-hand-keys ( ;; q w e r t ;; a s d f g ;; z x c v b ;; ) ;; right-hand-keys ( ;; y u i o p ;; h j k l ; ;; n m , . / ;; ) ;; all-keys ( ;; q w e r t y u i o p ;; a s d f g h j k l ; ;; z x c v b n m , . / ;; ) ) (deflayer base _ brdn brup f3 f4 lrld f6 prev pp next mute vold volu _ _ _ _ _ _ _ _ _ _ _ _ _ _ @hypr _ @meh _ _ _ _ _ _ _ _ _ _ @cap @a @s @d @f _ _ @j @k @l @; _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @ctl _ _ @spc _ _ _ _ _ ) (deflayer nomods esc f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 nubs 1 2 3 4 5 6 7 8 9 0 - = bspc tab q w e r t y u i o p [ ] caps a s d f g h j k l ; ' \ lsft grv z x c v b n m , . / rsft up fn lctl lalt lmet spc rmet ralt left down rght ) (deflayer navigation _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ caps @emo _ _ _ _ _ _ vold volu _ _ _ _ _ _ _ _ _ left down up rght _ _ _ _ _ _ _ _ _ _ bspc enter _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ) (deffakekeys to-base (layer-switch base) ) (defalias tap (multi (layer-switch nomods) (on-idle-fakekey to-base tap 20) ) ;; Home row mods (accordion) ;; a (tap-hold-release-keys $tap-time $hold-time (multi a @tap) lctl $left-hand-keys) ;; s (tap-hold-release-keys $tap-time $hold-time (multi s @tap) lsft $left-hand-keys) ;; d (tap-hold-release-keys $tap-time $hold-time (multi d @tap) lalt $left-hand-keys) ;; f (tap-hold-release-keys $tap-time $hold-time (multi f @tap) lmet $left-hand-keys) ;; j (tap-hold-release-keys $tap-time $hold-time (multi j @tap) rmet $right-hand-keys) ;; k (tap-hold-release-keys $tap-time $hold-time (multi k @tap) ralt $right-hand-keys) ;; l (tap-hold-release-keys $tap-time $hold-time (multi l @tap) rsft $right-hand-keys) ;; ; (tap-hold-release-keys $tap-time $hold-time (multi ; @tap) rctl $right-hand-keys) ;; Simple home row mods a (tap-hold $tap-time $hold-time a lctl) s (tap-hold $tap-time $hold-time s lsft) d (tap-hold $tap-time $hold-time d lalt) f (tap-hold $tap-time $hold-time f lmet) j (tap-hold $tap-time $hold-time j rmet) k (tap-hold $tap-time $hold-time k ralt) l (tap-hold $tap-time $hold-time l rsft) ; (tap-hold $tap-time $hold-time ; rctl) ;; Navigation layer spc (tap-hold-press $tap-time $hold-time-short spc (layer-while-held navigation)) ;; Hyper key meh (tap-hold-release $tap-time $hold-time w (one-shot 150 S-C-lalt)) hypr (tap-hold-press $tap-time $hold-time tab (one-shot 200 M-S-C-lalt)) ;; Meta keys mods cap (tap-hold-press $tap-time $hold-time-short esc lctl) ctl (tap-hold-press $tap-time $hold-time-short esc lctl) ;; Other keys emo C-M-spc )
Editor is loading...