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

Implement configuration modes #52

Open
sdilts opened this issue Oct 28, 2023 · 0 comments
Open

Implement configuration modes #52

sdilts opened this issue Oct 28, 2023 · 0 comments

Comments

@sdilts
Copy link
Collaborator

sdilts commented Oct 28, 2023

A configuration mode is a set of keybindings and/or configuration that can be activated/deactivated as a single command. The goal is to have a system that allows functionality to be packaged together and experimented with easily.

When a mode is activated, it should supercede whatever keybindings and configuration was active upon activation. They should be applied in the order that they appear, so if you have two modes that override the same thing, the latest one to be active is whose bindings are active.

When a mode is deactivated, the configuration should go back to what it was before the mode was activated. If there is a second mode that overrides another mode's behavior, the overridden behavior should remain unchanged, as the second mode is unaffected.

There should also be a way to package these modes so that they are easy to share and relatively straightforward to create.

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

No branches or pull requests

1 participant