Allow extending modifier builder with custom to* #138
Answered
by
evan-liu
ImanMahmoudinasab
asked this question in
Q&A
-
Thank you for this awesome work. map("l")
.toChromeTab("http://localhost:8080")
.description("Launch Localhost"), |
Beta Was this translation helpful? Give feedback.
Answered by
evan-liu
Aug 27, 2024
Replies: 1 comment 1 reply
-
You can define functions then use in map("l")
.to(chromeTab("http://localhost:8080"))
.description("Launch Localhost"),
function chromeTab(url) {
return to$(`...`)
} I have a few examples in my config |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ImanMahmoudinasab
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can define functions then use in
to()
, e.g.I have a few examples in my config