-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Disable micro auto formatting bindings.json when adding new bindings #3302
Comments
So this happens when whatever is trying to bind/unbind a key, whether it is from the user or a plugin. Having my keybindings/settings formatting and comments get removed completely is quite annoying and discouraging. I think we should just do a string append ourselves instead. This should be relatively achievable. micro/internal/config/settings.go Lines 293 to 294 in 9176508
micro/internal/config/settings.go Lines 315 to 316 in 9176508
micro/internal/action/bindings.go Line 376 in 9176508
micro/internal/action/bindings.go Lines 319 to 320 in 9176508
|
Related: #2194 |
Description of the problem or steps to reproduce
micro keeps auto formatting
bindings.json
, when there's a new binding needs to be added to the json (either from user or plugin). Resulting it removing all the comments and reordering everything. Making it difficult to keep track of modified keys.Specifications
Commit hash: 9176508
OS: Linux
Terminal: WezTerm
The text was updated successfully, but these errors were encountered: