doom-literate-config

Installation
SKILL.md

Doom Literate Config

In a literate setup config.org is the source and everything else is tangled — generated on export and overwritten. Every edit belongs in the source; an edit to a tangled file is lost at the next tangle.

1. Establish what tangles where

Read init.el, config.org, config.el, and packages.el.

  • :config literate in init.el makes config.org the source.
  • Ordinary emacs-lisp blocks tangle to config.el.
  • Blocks marked :tangle packages.el tangle there; package! declarations need that marker.

Done when you can name the source file and the tangle destination of every block you intend to touch.

2. Account for the current configuration

Before the first edit, inventory every active setting in config.el and every package! declaration in packages.el, and confirm each one has a home in config.org.

Carry package-file comments into a config.org block tangled to packages.el, so they survive regeneration.

Installs
38
First Seen
Aug 16, 2026