deflayer_base_lt_hrm.kbd 1.3 KB

12345678910111213141516171819202122232425262728293031323334
  1. ;; Base layer: layer-taps under the thumbs + home-row mods on SDF and JKL
  2. (deflayer base
  3. _ _ _ _ _ _ _ _ _ _ _
  4. q w e r t y u i o p
  5. a @ss @dd @ff g h @jj @kk @ll ;
  6. z x c v b 102d n m , . /
  7. @sft @nav @sym
  8. )
  9. (defalias
  10. ;; Main mod-tap: VimNav layer when hold, Space when tapped.
  11. ;; The space key must be hold long enough (300ms) to become a layer shift.
  12. nav (tap-hold 200 300 spc (layer-while-held navigation))
  13. ;; Space-cadet thumb keys: Shift/BackSpace, AltGr/Escape
  14. ;; - acts as a modifier by default, or as BS/Esc when tapped separately;
  15. ;; - works great with Qwerty-Lafayette and Ergo-L keyboard layouts, where
  16. ;; neither Shift nor AltGr are used outside of the 3×10 main alpha keys.
  17. alt (tap-hold-press 200 200 esc ralt)
  18. sft (tap-hold-press 200 200 bspc lsft)
  19. sym (tap-hold-press 200 200 esc (layer-while-held symbols))
  20. ;; Home-row mods
  21. ;; Must be hold long enough (300ms) to become a modifier.
  22. ss (tap-hold 200 300 s lmet)
  23. dd (tap-hold 200 300 d lalt)
  24. ff (tap-hold 200 300 f lctl)
  25. jj (tap-hold 200 300 j rctl)
  26. kk (tap-hold 200 300 k lalt)
  27. ll (tap-hold 200 300 l rmet)
  28. )
  29. ;; vim: set ft=lisp