Add a settings page
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 14.6k
- Forks
- 734
- Avg merge
- 8h 40m
- Merged PRs (30d)
- 4
Description
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_EDITMSG` and 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 `~/.config` directory - maybe as a JSON file?
* Implementing a JSON parser by hand would be funny
* macOS: Settings file but not sure which path ❔
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files, tests, or entry points. First resolve the settings format and platform-specific persistence paths, including the Windows GPO concern and the Linux and macOS locations. Done means a settings page and persistence for the listed options across Windows, Linux, and macOS.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 28/100