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

Fix theme key bindings #334

Merged
merged 2 commits into from
Jun 3, 2016
Merged

Fix theme key bindings #334

merged 2 commits into from
Jun 3, 2016

Conversation

derekstavis
Copy link
Member

This PR fixes the way themes key bindings are treated.

Previous to this PR all installed themes key bindings would be loaded. This PR makes startup code load only current theme key bindings, when existent.

Also, previously, key bindings wouldn't be reloaded on theme change. This reloads key bindings file when it's found on the theme.


@tannhuber, I see your themes use key bindings. Would you like to help us test this PR?

To enable automatic key binding load on themes, move all bind calls to key_bindings.fish file in theme's repository root directory.

This PR should make omf t dangerous; omf t budspencer use budspencer key bindings.

@tannhuber
Copy link
Member

I tested it successfully. All checks have passed. Thank you.

@derekstavis
Copy link
Member Author

Thanks for the testing @tannhuber

@derekstavis derekstavis merged commit 0ca26d0 into master Jun 3, 2016
@derekstavis derekstavis deleted the fix-theme-key-bindings branch June 5, 2016 03:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants