refactor(nix/darwin): Swap ESC<->CapsLock with Kanata

This commit is contained in:
Ahmad Ansori Palembani 2024-11-08 11:11:41 +07:00
parent b48174745d
commit da9dcf8bdc
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6
7 changed files with 99 additions and 14 deletions

22
include/kanata.kbd Normal file
View file

@ -0,0 +1,22 @@
(defcfg
process-unmapped-keys yes
)
(defsrc
esc f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
grv 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 ; ' \ ret
lsft 102d z x c v b n m , . / rsft
lctl lmet lalt spc ralt f13 rctl
)
;; Swap CapsLock with ESC
(deflayer base
caps f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
grv 1 2 3 4 5 6 7 8 9 0 - = bspc
tab q w e r t y u i o p [ ]
esc a s d f g h j k l ; ' \ ret
lsft 102d z x c v b n m , . / rsft
lctl lmet lalt spc ralt f13 rctl
)