Skip to content
Discussion options

You must be logged in to vote

thanks for guiding me to right direction, although I wanted sequence->trigger_key.
trigger_key/leader_key(sldr)->sequence -> autotrigger worked better.
but the sldr leader concept in sequence works excellently and even better than post-trigger method I was trying to look at.

(deftemplate seq (vk-name input-keys output-action)
    (defvirtualkeys $vk-name $output-action)
    (defseq $vk-name $input-keys)
)
;; template-expand has a shortened form: t!
(t! seq dotcom (.) (macro . c o m))
(t! seq  laugh         ( h h ) (macro (unicode 😂)))
(t! seq  happy        ( h a ) (macro (unicode 😄)))

;; somewhere in the config
(deflayer sldr)

now sldr -> h -> a will give 😄

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Sreinumder
Comment options

Answer selected by Sreinumder
@gerhard-h
Comment options

@jtroo
Comment options

jtroo May 2, 2026
Maintainer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants