Skip to content

Conversation

@3nprob
Copy link

@3nprob 3nprob commented Dec 7, 2021

By default no shortcuts are mapped.

Previous mappings included as sample (except q no longer closes modal)

Consider as alternative to #325

@3nprob 3nprob mentioned this pull request Dec 7, 2021
Copy link
Member

@tulir tulir left a comment

Choose a reason for hiding this comment

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

By default no shortcuts are mapped.

That doesn't sound very usable. The defaults need to be enabled by default. New shortcuts that are added later should probably also get enabled automatically for existing users, rather than users having to manually update their keybindings file.

The most sensible solution is probably loading the sample config as a base, then loading the user's config on top of that as overrides. The embed package may be useful to compile the sample file into the binary.

@tulir tulir merged commit f652501 into gomuks:master Mar 6, 2022
prataffel added a commit to prataffel/gomuks that referenced this pull request May 28, 2022
This drops the hard-coded shortkeys in favor of the keybindings.yaml
file introduced in gomuks#328
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