![]() These headers come from the initial files generated by doom install, and contain either some Emacs-LISP relevant indicators like lexical-binding, or instructions about the contents of the file. We start by simply defining the standard headers used by the three files. All package! declarations are written to packages.el, all other LISP code is written to config.el. The load order of different files is defined depending on the type of session being started.Īll the config files are generated from this Org file, to try and make its meaning as clear as possible. There are other files that can be loaded, but theses are the main ones. ![]() config.el contains all custom configuration and code.packages.el defines which packages should be installed, beyond those that are installed and loaded as part of the enabled modules.A Doom module is a bundle of packages, configuration and commands, organized into a unit that can be toggled easily from this file. init.el defines which of the existing Doom modules are loaded. ![]() Note: a lot of manual configuration has been rendered moot by using Emacs Doom, which aggregates a well-maintained and organized collection of common configuration settings for performance optimization, package management, commonly used packages (e.g. You will find snippets from all of these (and possibly others) throughout my config. These are some of the best ones (several are also written in org mode). ReferencesĮmacs config is an art, and I have learned a lot by reading through other people’s config files, and from many other resources. You can see this in a nicer format on my blog post My Doom Emacs configuration, with commentary. See init.el, packages.el and config.el for the generated files. This file is written in literate programming style using org-mode. From this org file, all the necessary Doom Emacs config files are generated. If you are interested in writing your own Literate Config files, check out my book Literate Config on Leanpub! Hope you find it useful!Īs usual, the post below is included directly from my live file. I switched to Doom from my hand-crafted Emacs config some time ago, and I have been really enjoying it. In my ongoing series of literate config files, I am now posting my Doom Emacs config. My Doom Emacs configuration, with commentary
0 Comments
Leave a Reply. |