;; Graphite for Kanata
;; Generated by Layouts.Wiki.
;; Run with: kanata --cfg path/to/this-file.kbd

(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
)

(deflayer graphite-default
  grv 1 2 3 4 5 6 7 8 9 0 [ ] bspc
  tab b l d w z @' f o u j ; = \
  caps n r t s g y h a e i @, ret
  lsft q x m c v k p . @- @/ rsft
  lctl lmet lalt spc ralt rmet rctl
)

(defalias
  ' (fork ' S-- (lsft rsft))  ;; Shift + ' -> _
  , (fork , S-/ (lsft rsft))  ;; Shift + , -> ?
  - (fork - S-' (lsft rsft))  ;; Shift + - -> "
  / (fork / S-, (lsft rsft))  ;; Shift + / -> <
)
