Last active
March 28, 2025 09:48
-
-
Save amqndin/694513ed55539f588de04577f7990856 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (defcfg | |
| process-unmapped-keys yes | |
| ) | |
| (defsrc | |
| esc f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 | |
| 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 cmp rctl | |
| ) | |
| (defvar | |
| tap-timeout 200 | |
| hold-timeout 180 | |
| tt $tap-timeout | |
| ht $hold-timeout | |
| ) | |
| (deftemplate double-tap-layer-switch (key layer-name) | |
| $key (tap-dance 200 ( | |
| $key | |
| (layer-switch $layer-name) | |
| (macro $key $key $key) | |
| )) | |
| ) | |
| (deflayermap (default) | |
| caps (tap-hold $tt $ht esc lctl) | |
| a (tap-hold $tt $ht a lmet) | |
| s (tap-hold $tt $ht s lalt) | |
| d (tap-hold $tt $ht d lsft) | |
| f (tap-hold $tt $ht f lctl) | |
| j (tap-hold $tt $ht j rctl) | |
| k (tap-hold $tt $ht k rsft) | |
| l (tap-hold $tt $ht l lalt) | |
| ; (tap-hold $tt $ht ; rmet) | |
| (template-expand double-tap-layer-switch grv transparent) | |
| spc (tap-hold $tt $ht spc (layer-while-held extended)) | |
| ) | |
| (deflayermap (transparent) | |
| (template-expand double-tap-layer-switch grv default) | |
| ) | |
| (deflayermap (extended) | |
| u pgdn | |
| i pgup | |
| h left | |
| j down | |
| k up | |
| l rght | |
| f lctl | |
| d lsft | |
| s lalt | |
| a lmet | |
| ) | |
| ;; vim: syntax=lisp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment