For a detailed guide take a look at config-breakdown.org.
I’ve broken my Emacs configuration down into different files.
My init file ~/.emacs
sets some basic UI settings and bootstraps the following files:
(An elisp file to define package repository details.)
(An elisp file to load UI tweaks and all the bits of my theme.)
- Hide menu-bar, tool-bar and scroll-bar
- Y or N for Yes or No dialogs
- UTF-8 Encoding
- Activate
doom-vibrant
from doom-themes (withdoom-modeline-mode
,doom-themes-neotree
,doom-themes-org
,doom-themes-treemacs
,doom-themes-visual-bell
)
(An elisp file for the code generated by the Emacs customize interface.)
- Emacspeak default text-to-speech rate
- minimap.el customizations (right side, smaller, magit integration, and better faces)
- Dired-sidebar with all-the-icons-dired left sidebar file manager
- Selected Packages (List of installed packages)
- Custom faces
- RSS feeds (for Elfeed)
(An elisp file for variable definitions.)
- various
setq
(An elisp file for custom function definitions.)
(An elisp file to set automatic modes by file extension.)
(An elisp file to set how modes interact.)
-
Examples:
- use line numbers in some modes and not others
display-line-numbers-mode
- load yasnippet selectively in some modes
- use
visual-line-mode
to visually wrap lines in text modes
- use line numbers in some modes and not others
(An elisp file to set custom key sequences and shortcuts in Emacs.)
- Mostly
global-set-key
with old, full-size, keyboards in mind - Some mode-specific mappings (for ERC,
shell
, andterm
/multi-term buffers) - Slowly becoming more sane and ergonomic
(An elisp file to customize modes. This includes, global modes, and the initialization of the Emacspeak text-to-speech subsystem.)
(An elisp file to make sure the package management tools, mode-line and theme are installed before other things happen.)
async
paradox
smex
doom-theme
(An elisp file to ensure Emacs packages are installed.)
Installs the remaining elisp packages if they are not already installed.