chore(kanata): Initial migration from mouseless to kanata

This commit is contained in:
Ahmad Ansori Palembani 2024-11-08 12:11:55 +07:00
parent da9dcf8bdc
commit 5879d43491
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6
2 changed files with 20 additions and 3 deletions

View file

@ -2,6 +2,6 @@
end_of_line = lf end_of_line = lf
insert_final_newline = true insert_final_newline = true
[*.nix] [*.{nix,kbd}]
indent_style = space indent_style = space
indent_size = 2 indent_size = 2

View file

@ -11,12 +11,29 @@
lctl lmet lalt spc ralt f13 rctl lctl lmet lalt spc ralt f13 rctl
) )
;; Swap CapsLock with ESC (defalias
nav (tap-hold 200 200 / (layer-toggle mouse))
mvmu (movemouse-up 1 1)
mvmd (movemouse-down 1 1)
mvml (movemouse-left 1 1)
mvmr (movemouse-right 1 1)
)
(deflayer base (deflayer base
caps f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 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 grv 1 2 3 4 5 6 7 8 9 0 - = bspc
tab q w e r t y u i o p [ ] tab q w e r t y u i o p [ ]
esc a s d f g h j k l ; ' \ ret esc a s d f g h j k l ; ' \ ret
lsft 102d z x c v b n m , . / rsft lsft 102d z x c v b n m , . @nav rsft
lctl lmet lalt spc ralt f13 rctl lctl lmet lalt spc ralt f13 rctl
) )
(deflayer mouse
_ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ @mvml @mvmd @mvmu @mvmr _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _
)