Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load keymaps from subdirectories #654

Merged
merged 2 commits into from
Feb 14, 2020

Conversation

noroadsleft
Copy link
Member

This is a stripped-down version of #591; it doesn't do any of the layout macro business. Seven hundred keymap files in one folder is getting to be a real PITA to maintain.

@noroadsleft noroadsleft self-assigned this Feb 11, 2020
@noroadsleft noroadsleft added the WIP Work in Progress label Feb 11, 2020
@noroadsleft noroadsleft removed the WIP Work in Progress label Feb 11, 2020
@yanfali
Copy link
Collaborator

yanfali commented Feb 11, 2020

I think this is just too much. I would go with something simpler. Just take the first character of every existing path and make that a folder. [0-9a-z] so 38 folders and just drop them in alphabetically into those folders. This is fast and simple string operation to figure out where to search.

@noroadsleft noroadsleft merged commit 539d589 into qmk:master Feb 14, 2020
@noroadsleft noroadsleft deleted the feature/subfolders branch February 14, 2020 00:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants