(defcfg process-unmapped-keys yes ;;|no| enable processing of keys that are not in defsrc, useful if mapping a few keys in defsrc instead of most of the keys on your keyboard. Without this, the tap-hold-release and tap-hold-press actions will not activate for keys that are not in defsrc. Disabled because some keys may not work correctly if they are intercepted. E.g. rctl/altgr on Windows; see the windows-altgr configuration item above for context. log-layer-changes yes ;;|no| overhead ) (defvar ;; declare commonly-used values. prefix with $ to call them. They are refered with `$` tap-timeout 1000 ;;|500| hold-timeout 1500 ;;|500| πŸ•β†• $tap-timeout πŸ•πŸ Ώ $hold-timeout ) (defalias ;; home row mods ↕tap 🠿hold ;; pinky ring middle index | index middle ring pinky ;; timeout ↕tap 🠿hold¦↕tap 🠿hold action βŒ‚β€Ήβ—† (tap-hold-release $πŸ•β†• $πŸ•πŸ Ώ a β€Ήβ—†) ;; βŒ‚β€ΉβŽ‡ (tap-hold-release $πŸ•β†• $πŸ•πŸ Ώ s β€ΉβŽ‡) ;; βŒ‚β€ΉβŽˆ (tap-hold-release $πŸ•β†• $πŸ•πŸ Ώ d β€ΉβŽˆ) ;; βŒ‚β€Ήβ‡§ (tap-hold-release $πŸ•β†• $πŸ•πŸ Ώ f ‹⇧) ;; βŒ‚β‡§β€Ί (tap-hold-release $πŸ•β†• $πŸ•πŸ Ώ j ⇧›) ;; same actions for the right side βŒ‚βŽˆβ€Ί (tap-hold-release $πŸ•β†• $πŸ•πŸ Ώ k βŽˆβ€Ί) ;; βŒ‚βŽ‡β€Ί (tap-hold-release $πŸ•β†• $πŸ•πŸ Ώ l βŽ‡β€Ί) ;; βŒ‚β—†β€Ί (tap-hold-release $πŸ•β†• $πŸ•πŸ Ώ ; β—†β€Ί) ;; ) (defsrc ` 1 2 a s d f j k l ;) (deflayer βŒ‚ ;; modtap layer for home row mods and 1 printing a 🀲🏿 char (will appear as 🀲 until kanata's unicode feature is extended) β€— πŸ”£πŸ€²πŸΏ β€— @βŒ‚β€Ήβ—† @βŒ‚β€ΉβŽ‡ @βŒ‚β€ΉβŽˆ @βŒ‚β€Ήβ‡§ @βŒ‚β‡§β€Ί @βŒ‚βŽˆβ€Ί @βŒ‚βŽ‡β€Ί @βŒ‚β—†β€Ί)