File: deflayermap.kbd

package info (click to toggle)
rust-kanata 1.9.0-12
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,852 kB
  • sloc: sh: 33; makefile: 4
file content (26 lines) | stat: -rw-r--r-- 738 bytes parent folder | download | duplicates (2)
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
;; A configuration showcasing deflayermap.
;;
;; The process-unmapped-keys defcfg item is not used
;; and the lctl and ralt keys are unmapped
;; because mapping them can cause problems on Windows
;; with non-US layouts.

(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
       lmet lalt           spc                 rmet rctl
)

(deflayermap (base)
  caps (tap-hold 200 200 (caps-word 2000) lctl)
  spc  (tap-hold 200 200 spc (layer-while-held nav))
)

(deflayermap (nav)
  i up
  j left
  k down
  l right
)