aboutsummaryrefslogtreecommitdiff
path: root/kanata
diff options
context:
space:
mode:
authorGravatar pinoinha <pinoinha@disroot.org> 2024-04-17 15:32:30 +0000
committerGravatar pinoinha <pinoinha@disroot.org> 2024-04-17 15:32:30 +0000
commit08d4c27f1e843de95cc94aaf96f08be2dc39880c (patch)
treeb1c8bfe28b488f92f1dcc9727dc281427b78fc49 /kanata
parent824712e30a435fe7e8092957d12ca97c31a9a993 (diff)
kanata: ideapad com graphite
Diffstat (limited to 'kanata')
-rw-r--r--kanata/akko.kbd8
-rw-r--r--kanata/ideapad.kbd140
2 files changed, 70 insertions, 78 deletions
diff --git a/kanata/akko.kbd b/kanata/akko.kbd
index 8b67f7c..60734dc 100644
--- a/kanata/akko.kbd
+++ b/kanata/akko.kbd
@@ -169,14 +169,6 @@
_ _ _ _ _ _
)
-;; (deflayer mods
-;; _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
-;; _ _ _ _ _ _ _ _ _ _ _ _ _ _
-;; _ _ @lalt @lctl @lsft _ _ @lsft @lctl @lalt _ _ _
-;; _ _ _ _ @lmet _ _ @lmet _ _ _ _
-;; _ _ _ _ _ _
-;; )
-
(deflayer mouse
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ @mlc @mup @mrc _ _ _ _
diff --git a/kanata/ideapad.kbd b/kanata/ideapad.kbd
index 299fc79..d14e601 100644
--- a/kanata/ideapad.kbd
+++ b/kanata/ideapad.kbd
@@ -27,121 +27,121 @@
(defalias
l (chord chords l)
- y (chord chords y)
- p (chord chords p)
- k (chord chords k)
+ d (chord chords d)
+ w (chord chords w)
z (chord chords z)
j (chord chords j)
+ f (chord chords f)
o (chord chords o)
u (chord chords u)
r (chord chords r)
- s (chord chords s)
t (chord chords t)
- b (chord chords b)
- f (chord chords f)
- n (chord chords n)
+ s (chord chords s)
+ g (chord chords g)
+ y (chord chords y)
+ h (chord chords h)
e (chord chords e)
i (chord chords i)
- v (chord chords v)
- g (chord chords g)
- d (chord chords d)
- \ (chord chords \)
m (chord chords m)
- h (chord chords h)
- / (chord chords /)
- , (chord chords ,)
+ v (chord chords v)
+ c (chord chords c)
+ ' (chord chords ')
+ p (chord chords p)
+ k (chord chords k)
+ - (chord chords -)
+ . (chord chords .)
nav (layer-while-held nav)
- mods (layer-while-held mods)
+ num (layer-while-held num)
lmet (one-shot-release 1000 lmet)
lalt (one-shot-release 1000 lalt)
lsft (one-shot-release 1000 lsft)
lctl (one-shot-release 1000 lctl)
- spc (tap-hold-press 150 150 spc @mods)
- c (tap-hold-press 150 150 c @nav)
+ n (tap-hold-press 150 150 n @nav)
+ a (tap-hold-press 150 150 a @num)
)
(defchords chords 1000
;; fileira de cima
(l ) l
- (y ) y
- (p ) p
- (k ) k
+ (d ) d
+ (w ) w
(z ) z
(j ) j
+ (f ) f
(o ) o
(u ) u
;; fileira do meio
(r ) r
- (s ) s
(t ) t
- (b ) b
- (f ) f
- (n ) n
+ (s ) s
+ (g ) g
+ (y ) y
+ (h ) h
(e ) e
(i ) i
;; fileira de baixo
- (v ) v
- (g ) g
- (d ) d
- (\ ) \
(m ) m
- (h ) h
- (/ ) /
- (, ) ,
+ (v ) v
+ (c ) c
+ (' ) '
+ (p ) p
+ (k ) k
+ (- ) -
+ (. ) .
;; combos laterais - lado esquerdo
- (l y) esc
- (y p) ret
- (r s) tab
- (s t) rpt
- (v g) C-c
- (g d) C-v
+ (l d) esc
+ (d w) ret
+ (r t) tab
+ (t s) rpt
+ (m v) C-c
+ (v c) C-v
;; combos verticais - lado esquerdo
(l r) S-2
- (y s) S-3
- (p t) S-4
- (k b) S-5
- (r v) grv
- (s g) S-1
- (t d) =
- (b \) S-grv
+ (d t) S-3
+ (w s) S-4
+ (z g) S-5
+ (r m) grv
+ (t v) S-1
+ (s c) =
+ (g ') S-grv
;; combos laterais - lado direito
- (j o) bspc
+ (f o) bspc
(o u) del
- (n e) S-9
+ (h e) S-9
(e i) S-0
- (h /) [
- (/ ,) ]
+ (k -) [
+ (- .) ]
;; combos verticais - lado direito
- (z f) S-6
- (j n) +
+ (j y) S-6
+ (f h) +
(o e) S-8
(u i) S-7
- (f m) S--
- (n h) -
- (e /) /
- (i ,) S-\
+ (y p) S--
+ (h k) -
+ (e -) /
+ (i .) S-\
)
-;; Canary layout (dg swap)
-;; https://github.com/Apsu/Canary
-(deflayer canary
- esc f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
- ' 1 2 3 4 5 6 7 8 9 0 - = bspc
- tab w @l @y @p @k @z @j @o @u ç ´ [ ret
- caps @c @r @s @t @b @f @n @e @i a ~ ]
- lsft q x @v @g @d @\ @m @h @/ @, . rsft
- lctl lmet lalt @spc ralt ;
+;; Graphite layout (vc + kp swap + adaptação ABNT2)
+;; https://github.com/rdavison/graphite-layout
+(deflayer grephati
+ esc f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
+ \ 1 2 3 4 5 6 7 8 9 0 - = bspc
+ tab b @l @d @w @z @j @f @o @u ç ´ [ ret
+ caps @n @r @t @s @g @y @h @e @i @a ~ ]
+ lsft q x @m @v @c @' @p @k @- @. / rsft
+ lctl lmet lalt spc ralt ;
)
(deflayer qwerty
@@ -171,11 +171,11 @@
_ _ _ _ _ _
)
-(deflayer mods
- _ _ _ _ _ _ _ _ _ _ _ _ _
- _ _ _ _ _ _ _ _ _ _ _ _ _ _
- _ _ _ _ _ _ _ _ _ _ _ _ _ _
- _ _ @lalt @lctl @lsft _ _ @lsft @lctl @lalt _ _ _
- _ _ _ _ _ @lmet _ _ @lmet _ _ _ _
- _ _ _ _ _ _
+(deflayer num
+ _ _ _ _ _ _ _ _ _ _ _ _ _
+ _ _ _ _ _ _ _ _ _ _ _ _ _ _
+ _ 9 8 7 _ _ _ _ _ _ _ _ _ _
+ _ 6 5 4 _ _ _ @lsft @lctl @lalt _ _ _
+ _ _ 3 2 1 0 _ _ @lmet _ _ _ _
+ _ _ _ _ _ _
)