Description
Is your feature request related to a problem? Please describe.
gitui creates the configuration file (~/.config/gitui/key_config.ron
) when executed the first time.
If you decide to do some changes to this file to hold your own key-mappings then if an error is found or a key is missing this file is overwritten with new information. Since I have all my config files in git (dotfiles) and the file is just a symlink it will break.
Describe the solution you'd like
- don't create a file.
- if a file is found, the file contains only the remaps that the user wants, everything else should be as default
- If an error is found, ignore the error and show a small error footer in the ui.
Describe alternatives you've considered
If, for some reason, gitui
still wants to create the configuration file when executed for the first time. Then a user-created file with the name key_config_user.ron
could be used to override some or all settings.
Additional context
thanks for a great project 👍