summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorJosh Ott <josh@ottmail.me>2025-08-22 23:17:33 -0400
committerJosh Ott <josh@ottmail.me>2025-08-22 23:17:33 -0400
commit15f7aa8750a6311d669234831484957edb4e982e (patch)
tree15c8aa2a8160d5e9fb6077095a1911d744bce41e /.config
parentdbda6baf17ab682177b4ef147f750c874031968c (diff)
downloaddotfiles-15f7aa8750a6311d669234831484957edb4e982e.tar.gz
dotfiles-15f7aa8750a6311d669234831484957edb4e982e.zip
japanese laptop keyboard!
Diffstat (limited to '.config')
-rw-r--r--.config/keybs/kanata.kbd95
1 files changed, 42 insertions, 53 deletions
diff --git a/.config/keybs/kanata.kbd b/.config/keybs/kanata.kbd
index 40a8d6d..8b7e8c6 100644
--- a/.config/keybs/kanata.kbd
+++ b/.config/keybs/kanata.kbd
@@ -21,7 +21,7 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
)
(defalias
- nav (layer-while-held navigation)
+ nav (one-shot-press-pcancel 1500 (layer-while-held navigation))
num (one-shot-press-pcancel 1500 (layer-while-held numbers))
sym (one-shot-press-pcancel 1500 (layer-while-held symbols))
fun (one-shot-press-pcancel 1500 (layer-while-held function))
@@ -36,7 +36,6 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
hre (tap-hold-release 200 200 e lctl)
hrr (tap-hold-release 200 200 r lalt)
hri (tap-hold-release 200 200 i lalt)
- hra (tap-hold-release 200 200 a @nav)
meq (tap-hold-release 200 200 = lmet)
mco (tap-hold-release 200 200 , lctl)
@@ -55,95 +54,85 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
mwd (mwheel-down 1 1)
mwr (mwheel-right 1 1)
- mou (layer-while-held mouse)
- mid (tap-hold-press 200 200 mrgt @mou)
-
- chl (chord midchord a)
- chr (chord midchord b)
-)
-
-(defchords midchord 50
- (a ) mlft
- ( b) @mid
- (a b) mmid
+ mou (layer-switch mouse)
)
(defsrc
esc f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 home end ins del
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
+ tab q w e r t y u i o p [ ]
+ caps a s d f g h j k l ; ' \ ret
lsft z x c v b n m , . / rsft
- wkup lctl lmet lalt spc ralt sys rctl pgup up pgdn
- mlft mmid mrgt left down rght
+ wkup lctl lmet lalt mhnk spc henk kana ralt sys rctl pgup up pgdn
+ left down rght
)
(deflayer colemakdh
esc f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 home end ins del
grv 1 2 3 4 5 6 7 8 9 0 - = bspc
- tab q w f p b j l u y @fun [ ] \
- esc @hra @hrr @hrs @hrt g m @hrn @hre @hri o ' ret
+ tab q w f p b j l u y @fun [ ]
+ esc a @hrr @hrs @hrt g m @hrn @hre @hri o ret ret ret
@sfd x c d v z k h ' @sym bspc @sfd
- wkup lctl lmet lalt spc @num sys @qwe pgdn up pgup
- @chl @chr @num left down rght
+ wkup lctl lmet lalt @nav spc @sfd @num ralt sys @qwe pgdn up pgup
+ left down rght
)
(deflayer navigation
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- _ _ _ _ _ _ _ _ _ _ _ _ _ _
- _ _ [ ] _ _ _ del pgdn pgup _ _ _ _
- _ _ @cop @pop @pcl _ _ left down up rght _ _
- _ _ _ S-] _ _ _ home end _ _ _
- _ _ _ _ _ _ _ _ _ _ _
- _ _ lsft _ _ _
+ _ _ _ _ _ _ _ _ _ _ _ _ _ _
+ _ _ [ ] _ _ _ del pgdn pgup _ _ _
+ _ esc @cop @pop @pcl _ _ left down up rght _ _ _
+ _ ins del S-] _ _ _ home end @mou _ _
+ _ _ _ _ _ _ _ ret _ _ _ _ _ _
+ _ _ _
)
(deflayer numbers
lrld _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- _ _ _ _ _ _ _ _ _ _ _ _ _ _
- _ _ 4 5 6 S-\ _ S-8 S-,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 _ _ _ _ _ _ _ _ _ _
- _ _ f4 f5 f6 _ _ _ _ _ _ _ _ _
- f12 f11 f1 f2 f3 _ _ _ _ _ _ _ _
- _ f7 f8 f9 _ _ _ - _ _ _ _
- _ _ _ _ _ _ _ _ _ _ _
- f10 _ _ _ _ _
+ _ _ _ _ _ _ _ _ _ _ _ _ _ _
+ _ _ f4 f5 f6 prnt mute voldwn volu _ _ _ _
+ _ f11 f1 f2 f3 _ _ brdown brup _ _ _ _ _
+ _ f7 f8 f9 _ f12 _ _ _ _ _ _
+ _ _ _ _ f10 _ _ _ _ _ _ _ _ _
+ _ _ _
)
(deflayer qwerty
esc f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 home end ins del
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
+ tab q w e r t y u i o p [ ]
+ caps a s d f g h j k l ; ' \ ret
lsft z x c v b n m , . / rsft
- wkup lctl lmet lalt spc ralt sys @cdh pgup up pgdn
- mlft mmid mrgt left down rght
+ wkup lctl lmet lalt spc spc spc spc ralt sys @cdh pgup up pgdn
+ left down rght
)