zyedidia / micro

A modern and intuitive terminal-based text editor

Home Page:https://micro-editor.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Option for global config?

helpimnotdrowning opened this issue · comments

Description of the problem or steps to reproduce

Is there some location where I can write to a global config directory, that ideally can be overridden piecemeal by a personal config?

Specifications

Using:

  • Windows 11
    • micro: 2.0.14/04c57704 via Winget
    • term: Windows Terminal/pwsh
  • Debian 12.7 / KDE 5
    • micro: 2.0.11/<no hash in output> via apt/bookworm
    • term: Konsole/pwsh
commented

There is no global config but you can specify a custom configuration directory when launching micro with a command line option micro -config-dir /tmp.

I personally think cascading configuration files are not worth the extra complexity. Multiple competing sources of configuration would make debugging issues more complicated.