Skip to content

Commit

Permalink
add be-g
Browse files Browse the repository at this point in the history
  • Loading branch information
nyawox committed Jun 7, 2024
1 parent 1d56b6d commit b335ff0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions kanata.nix
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ with lib; let
beauty (one-shot 5000 (layer-toggle beauty))
beautifully (one-shot 5000 (layer-toggle beautifully))
be-t (one-shot 5000 (layer-toggle be-t))
be-g (one-shot 5000 (layer-toggle be-g))
)
;; these word-builder rules aren't tested and likely wouldn't work on jis keyboard
Expand Down Expand Up @@ -195,6 +196,7 @@ with lib; let
p (on-press tap-vkey be-u) ;; <spc><rpt>u
e (on-press tap-vkey be-c) ;; <spc><rpt>c
f (on-press tap-vkey be-t) ;; <spc><rpt>t
g (on-press tap-vkey be-g) ;; <spc><rpt>g
)
(deflayermap (be-c)
spc (macro c a u s e spc) ;; <spc><rpt>c<spc> -> because
Expand All @@ -221,6 +223,11 @@ with lib; let
; (macro t t e r) ;; <spc><rpt>te -> better
s (macro t r a y) ;; <spc><rpt>tr -> betray
)
(deflayermap (be-g)
ret (macro g i n) ;; <spc><rpt>gi -> begin
' (macro g a n) ;; <spc><rpt>ga -> began
p (macro g u n) ;; <spc><rpt>gu -> begun
)
(defalias
tp (multi
Expand Down

0 comments on commit b335ff0

Please sign in to comment.