Skip to main content

Configurations

At the moment, configuration files are not supported, because I'm in favor of compile-time configuration 1, for the following reasons:

  1. Easier to update
  2. Running with incompatible configurations is impossible 2
  3. Configuration as code
    • Free type-checking
    • Free formatting3
    • Ability to reduce duplications using functions
    • Easy backup (fork Ki-editor and push your modified config)

However, I'm open to suggestions, I might even create a new language for that.

Files for configurations

TypePath
Languagesshared/src/languages.rs

Environment variables for configurations

Until a method of basic configuration is decided upon, the theme for Ki can be configured via the environment variable KI_EDITOR_THEME. The theme defaults to "VS Code (Light)". You can find a list of known themes by launching ki and using the Pick Theme option, SPACE t.

Footnotes

  1. For example, see dwm and Xmonad

  2. Neovim usually let's you glide through until it commits kamikaze

  3. Rant: TOML does not endorse an official formatter