diff options
| author | 2024-04-01 16:24:01 +0000 | |
|---|---|---|
| committer | 2024-04-01 16:24:01 +0000 | |
| commit | ad86bfbbbaedeff231eeb4cda67a7e37a656fcf3 (patch) | |
| tree | 696160eedc5994b3e2ea5216331466995e61b352 /kanata | |
| parent | f9d1ee628d3e36931ef6a93e15b740f5d1871f4b (diff) | |
- kanata: layer pro mouse
- emacs: mais funçőes no meow-leader
Diffstat (limited to 'kanata')
| -rw-r--r-- | kanata/akko.kbd | 30 |
1 files changed, 28 insertions, 2 deletions
diff --git a/kanata/akko.kbd b/kanata/akko.kbd index ffbf9ab..b98e46c 100644 --- a/kanata/akko.kbd +++ b/kanata/akko.kbd @@ -39,7 +39,8 @@ h (chord chords h) / (chord chords /) , (chord chords ,) - + + can (layer-switch canary) nav (layer-while-held nav) num (layer-while-held num) mods (layer-while-held mods) @@ -51,6 +52,17 @@ c (tap-hold-press 150 150 c @nav) spc (tap-hold-press 150 150 spc @mods) + + ;; mouse + mous (layer-switch mouse) + mup (movemouse-up 10 10) + mdn (movemouse-down 10 10) + mlft (movemouse-left 10 10) + mrgt (movemouse-right 10 10) + mwup (mwheel-up 10 50) + mwdn (mwheel-down 10 50) + mlc (chord m-chords mlc) + mrc (chord m-chords mrc) ) (defchords chords 1000 @@ -121,6 +133,12 @@ (i ,) S-\ ) +(defchords m-chords 500 + (mlc ) mlft + (mrc ) mrgt + (mlc mrc) mmid +) + ;; Canary layout (dg swap) ;; https://github.com/Apsu/Canary (deflayer canary @@ -128,7 +146,7 @@ tab w @l @y @p @k @z @x @o @u ; [ ] \ caps @c @r @s @t @b @f @n @e @i a ' ret lsft j @v @g @d @q @m @h @/ @, . rsft - @num lmet lalt @spc ralt rctl + @num lmet @mous @spc ralt rctl ) (deflayer empty @@ -162,3 +180,11 @@ _ _ _ _ @lmet _ _ @lmet _ _ _ _ _ _ _ _ _ _ ) + +(deflayer mouse + _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + _ _ _ _ _ _ _ @mlc @mup @mrc _ _ _ _ + _ _ _ _ _ _ _ @mlft @mdn @mrgt _ _ _ + _ _ _ _ _ _ _ @mwup _ @mwdn _ _ + _ _ @can _ _ _ +) |
