Skip to content

Add a settings page #22

@lhecker

Description

@lhecker

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

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 ❔

Metadata

Metadata

Assignees

No one assigned

    Labels

    I-featureFeature requests and any other major tasks. Requires major work in the 1000s of LOC.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions