kanata/main.kbd: add comments, cleanup

This commit is contained in:
Charlie Root 2025-03-31 11:17:26 +02:00
commit e1ef7c68fc
Signed by: faukah
SSH key fingerprint: SHA256:Uj2AXqvtdCA4hn5Hq0ZonhIAyUqI1q4w2sMG3Z1TH7E

View file

@ -1,3 +1,4 @@
;; Source layer for my DasKeyboard 4 Professional
(defsrc
grv 1 2 3 4 5 6 7 8 9 0 - = bspc
tab q w e r t y u i o p [ ]
@ -5,7 +6,7 @@
lsft < z x c v b n m , . / rsft
lctl lmet lalt spc ralt rmet comp rctl
)
;; Default qwerty layer to use
(deflayer qwerty
grv 1 2 3 4 5 6 7 8 9 0 - = bspc
tab q w e r t y u i o p [ ]
@ -13,8 +14,8 @@
lsft < z x c v b n m , . / rsft
@lay lmet lalt spc ralt rmet comp rctl
)
;; graphite layer
;; TODO: add non-regular shifted keys
(deflayer graphite
Backquote 1 2 3 4 5 6 7 8 9 0 [ ] bspc
tab b l d w z ' f o u j ; =
@ -23,14 +24,7 @@
@lay lmet lalt spc ralt rmet comp rctl
)
;; (deflayer graphite-2
;; grv ! @ # $ % ^ & * S-9 S-0 { } bspc
;; tab B L D W Z _ F O U J : +
;; caps N R T S G Y H A E I ? | ret
;; lsft < Q X M C V K P > apo < rsft
;; lctl lmet lalt spc ralt rmet comp rctl
;; )
;; layout switching
(deflayer layouts
_ _ _ _ _ _ _ _ _ _ _ _ _ _
_ @qwe _ _ _ _ _ _ _ _ _ _ _