joyride 2023-05-05

Thanks to joyride I now have keyboard shortcuts to easily move to the template, script and style part of .vue files 🎉 thanks for making joyride!

1

Please consider adding it as an example on the Joyride repository.

If I find the time I can prepare a PR the next days.

Curently I have 4 scripts - 1 for each of the 3 different keyboard shortcuts and 1 script with common functionality. Is there a way to pass extra arguments to scripts invoked through joyride.runUserScript? If so I could combine it all into 1.

What I usually do is to require my functions in the user activation script and then use the command joyride.runCode to call those functions. There’s an example here: https://github.com/BetterThanTomorrow/joyride/tree/master/examples#lookup-current-symbol-in-clojuredocs

Ah, perfect. Thanks 🙂

Sidenote: The link to User activation.cljs and .joyride/scripts/clojuredocs.cljs are broken - probably these files don’t exist anymore. If you’d like I can create an issue after lunch