summaryrefslogtreecommitdiff
path: root/kanata/one.kbd
blob: 40259fa9acf9390193fdb8272840661951b96ec8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
(defcfg
  process-unmapped-keys yes
  concurrent-tap-hold yes
)

(defsrc
  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
  lsft z    x    c    v    b    n    m    ,    .    /    rsft
  lctl lmet lalt           spc            ralt rmet rctl

  NumpadDivide
  NumpadMultiply
)

(deflayer default
  _    _    _    _    _    _    _    _    _    _    _    _    _    _
  _    esc  f    d    n    i    g    _    _    _    _    _    _    _
  _    bspc s    t    h    e    o    _    _    _    _    _    _
  _    lsft c    w    r    a    u    _    _    _    _    _
  _    _    _              _              _    _    _

  (layer-switch default)
  (layer-switch gaming)
)

(deflayer gaming
  _    _    _    _    _    _    _    _    _    _    _    _    _    _
  _    _    _    _    _    _    _    _    _    _    _    _    _    _
  @cap _    _    _    _    _    _    _    _    _    _    _    _
  _    _    _    _    _    _    _    _    _    _    _    _
  _    _    _              _              _    _    _

  (layer-switch default)
  (layer-switch gaming)
)

(deflayer arrows
  _    _    _    _    _    _    _    _    _    _    _    _    _    _
  _    _    _    _    _    _    _    _    _    _    _    _    _    _
  _    _    _    _    _    _    left down up   rght _    _    _
  _    _    _    _    _    _    _    _    _    _    _    _
  _    _    _              _              _    _    _

  _
  _
)

(defalias
  cap (tap-hold-press 200 200 esc (layer-toggle arrows))
  lp (unicode "(")
  rp (unicode ")")
  at (unicode "@")
  car (unicode "^")
  col (unicode ":")
)

(defvar
  combo-term 60
)

(defchordsv2
  (spc q)       ret                 $combo-term first-release (gaming)
  (spc w)       j                   $combo-term first-release (gaming)
  (spc e)       k                   $combo-term first-release (gaming)
  (spc r)       m                   $combo-term first-release (gaming)
  (spc t)       '                   $combo-term first-release (gaming)
  (spc y)       -                   $combo-term first-release (gaming)

  ;;(spc a)       nop0                $combo-term first-release (gaming)
  (spc s)       y                   $combo-term first-release (gaming)
  (spc d)       p                   $combo-term first-release (gaming)
  (spc f)       l                   $combo-term first-release (gaming)
  (spc g)       .                   $combo-term first-release (gaming)
  (spc h)       q                   $combo-term first-release (gaming)

  ;;(spc z)       nop0                $combo-term first-release (gaming)
  (spc x)       x                   $combo-term first-release (gaming)
  (spc c)       b                   $combo-term first-release (gaming)
  (spc v)       v                   $combo-term first-release (gaming)
  (spc b)       ,                   $combo-term first-release (gaming)
  (spc n)       z                   $combo-term first-release (gaming)


  (lalt q)      tab                 $combo-term first-release (gaming)
  (lalt w)      [                   $combo-term first-release (gaming)
  (lalt e)      {                   $combo-term first-release (gaming)
  (lalt r)      (unicode "(")       $combo-term first-release (gaming)
  (lalt t)      (unicode "@")       $combo-term first-release (gaming)
  (lalt y)      (unicode "^")       $combo-term first-release (gaming)

  (lalt a)      \                   $combo-term first-release (gaming)
  (lalt s)      (unicode ":")       $combo-term first-release (gaming)
  (lalt d)      (unicode ";")       $combo-term first-release (gaming)
  (lalt f)      (unicode "?")       $combo-term first-release (gaming)
  (lalt g)      (unicode "!")       $combo-term first-release (gaming)
  (lalt h)      (unicode "/")       $combo-term first-release (gaming)

  (lalt z)      (unicode "~")       $combo-term first-release (gaming)
  (lalt x)      ]                   $combo-term first-release (gaming)
  (lalt c)      }                   $combo-term first-release (gaming)
  (lalt v)      (unicode ")")       $combo-term first-release (gaming)
  (lalt b)      (unicode "&")       $combo-term first-release (gaming)
  (lalt n)      (unicode "*")       $combo-term first-release (gaming)
)