Can I make the Surfingkeys config modular? #2312
Unanswered
shahjalal-labs
asked this question in
Q&A
Replies: 1 comment
-
I've found a working solution to the issue! You can check out the implementation here: Feel free to review the changes and suggest any improvements if needed. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! 👋
I'm currently using Surfingkeys and I love its flexibility. I'm trying to improve the maintainability of my
~/.surfingkeys.js
config file.🔍 My question:
Is it possible to modularize the config, i.e., split the config into multiple smaller files and import them into the main
~/.surfingkeys.js
?For example:
Or any workaround like using
fetch()
witheval()
to dynamically load scripts from a local folder?💡 Goal:
I want to keep each set of mappings (e.g., GitHub shortcuts, search engines, custom hints) in separate files for better readability and organization.
Beta Was this translation helpful? Give feedback.
All reactions