chore(kanata): Complete mouseless setup
Unfortunately there are some caveats using Kanata on macOS, especially mouse hover won't work properly, but it should mostly work just fine for basic actions/movements.
This commit is contained in:
parent
5879d43491
commit
9f96464f78
1 changed files with 31 additions and 15 deletions
|
@ -12,12 +12,17 @@
|
|||
)
|
||||
|
||||
(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)
|
||||
;; << Mouse
|
||||
mnav (tap-hold 200 200 / (layer-toggle mnav))
|
||||
mact (tap-hold 200 200 rctl (layer-toggle mact))
|
||||
;; -- actions
|
||||
mvmu (movemouse-accel-up 5 800 1 15)
|
||||
mvmd (movemouse-accel-down 5 800 1 15)
|
||||
mvml (movemouse-accel-left 5 800 1 15)
|
||||
mvmr (movemouse-accel-right 5 800 1 15)
|
||||
msu (mwheel-up 50 120)
|
||||
msd (mwheel-down 50 120)
|
||||
;; >> Mouse
|
||||
)
|
||||
|
||||
(deflayer base
|
||||
|
@ -25,15 +30,26 @@
|
|||
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 , . @nav rsft
|
||||
lsft 102d z x c v b n m , . @mnav rsft
|
||||
lctl lmet lalt spc ralt f13 rctl
|
||||
)
|
||||
|
||||
(deflayer mouse
|
||||
;; << Mouse
|
||||
(deflayer mnav
|
||||
_ _ _ _ _ _ _ _ _ _ _ _ _
|
||||
_ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||||
_ _ _ _ _ _ _ _ _ _ _ @msu @msd
|
||||
_ _ _ _ _ _ @mvml @mvmd @mvmu @mvmr _ _ _ _
|
||||
_ _ _ _ _ _ _ _ _ _ _ _ _
|
||||
_ _ _ mlft _ _ @mact
|
||||
)
|
||||
|
||||
(deflayer mact
|
||||
_ _ _ _ _ _ _ _ _ _ _ _ _
|
||||
_ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||||
_ _ _ _ _ _ _ _ _ _ _ _ _
|
||||
_ _ _ _ _ _ @mvml @mvmd @mvmu @mvmr _ _ _ _
|
||||
_ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||||
_ _ _ _ _ _ _ _ _ _ _ _ _
|
||||
_ _ _ _ _ _ _
|
||||
_ _ _ mrgt _ _ _
|
||||
)
|
||||
;; >> Mouse
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue