Add a settings page
Author: lheckerCreated May 18, 2025Updated Aug 12, 2026
LabelsC-feature
Over time, more and more things may want to be configurable. Today it's:
- Theme colors
- Changing keyboard bindings
- Setting the ruler column for
COMMIT_EDITMSGand others - Enabling/Disabling the margin (line numbers)
- Enabling word-wrap for certain file types
- Cursor style
- Application language
We should use TOML, because JSON is kind of meh. It's also used by Helix.
On top of adding the mere dialog, this feature requires implementing settings persistence. This would mean:
- Windows: A settings file
- BUT: There are concerns about this making GPO more difficult. This needs to be watertight before we ship it.
- Linux: XDG
~/.configdirectory - maybe as a JSON file?- Implementing a JSON parser by hand would be funny
- macOS: Settings file but not sure which path ❔
Source: microsoft/edit