Skip to content

Add per-profile default keymaps support#14

Merged
peppapighs merged 1 commit intopeppapighs:devfrom
yiancar:profile-json-defining
Jan 13, 2026
Merged

Add per-profile default keymaps support#14
peppapighs merged 1 commit intopeppapighs:devfrom
yiancar:profile-json-defining

Conversation

@yiancar
Copy link
Contributor

@yiancar yiancar commented Jan 9, 2026

Currently by default all profiles match the default keymap.
Added the optional profile_keymaps array to the schema.
This is an array of keymaps, one per profile. Any empty profiles default to the default keymap.

@peppapighs peppapighs changed the base branch from main to dev January 10, 2026 02:58
@peppapighs peppapighs force-pushed the profile-json-defining branch from 64942da to e680db9 Compare January 10, 2026 03:07
Copy link
Owner

@peppapighs peppapighs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR. I left some comments in the code. Please let me know if you have any thoughts about them. I will prepare the changes on the hmkconf side.

@yiancar
Copy link
Contributor Author

yiancar commented Jan 12, 2026

Thanks for the comments! I will implement the changes today:)

@yiancar yiancar force-pushed the profile-json-defining branch from e680db9 to 51807e9 Compare January 12, 2026 19:15
@yiancar
Copy link
Contributor Author

yiancar commented Jan 13, 2026

@peppapighs please let me know what you think:)

@peppapighs peppapighs force-pushed the profile-json-defining branch from c8854bb to 00fef4a Compare January 13, 2026 12:52
@peppapighs
Copy link
Owner

I readded your validation and fallback logic for the default keymaps. Everything looks good now. I will merge this change. Thanks again for the help!

@peppapighs peppapighs force-pushed the profile-json-defining branch from 00fef4a to 5913f2f Compare January 13, 2026 12:55
@peppapighs peppapighs force-pushed the profile-json-defining branch from 5913f2f to 30e9f82 Compare January 13, 2026 12:58
@peppapighs peppapighs merged commit 588ee7a into peppapighs:dev Jan 13, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants