I previously kept all my important configuration files to a literate configuration strategy using Emacs’ Org Mode. This enabled me to have a single annotated file for a particular configuration area which automatically writes out the actual configuration files involved when I save the .org file.
- Emacs
- Desktop Environment
- Productivity Workflow
- System Configurations via Guix
- Mail with mu4e and isync
When inside of an Org source block, you can use org-babel-demarcate-block
(C-c C-v d
by default) to split the block you’re currently in so that you can insert an annotation.
noweb
blocks are extremely useful for configuration organization and sharing configuration values across files. The org documentation on this topic is helpful in understanding the different ways you can reference another block in noweb
style.