+ enable lexical-scope everywhere (lexical-binding = t): ~5-10% faster startup; ~5-20% general boost + reduce consing, function calls & garbage collection by preferring cl-loop & dolist over lambda closures (for mapc[ar], add-hook, and various cl-lib filter/map/reduce functions) -- where possible + prefer functions with dedicated opcodes, like assq (see byte-defop's in bytecomp.el for more) + prefer pcase & cond (faster) over cl-case + general refactor for code readability + ensure naming & style conventions are adhered to + appease byte-compiler by marking unused variables with underscore + defer minor mode activation to after-init, emacs-startup or window-setup hooks; a customization opportunity for users + ensures custom functionality won't interfere with startup. |
||
---|---|---|
.. | ||
autoload | ||
config.el | ||
packages.el | ||
README.org |
:ui doom
This module modifies Emacs' user interface.
DOOM's look is loosely inspired by Atom's One Dark theme, and is largely contained in the doom-themes plugin.
By default, this module uses:
- Fira Mono and Fira Sans (fonts)
- DejaVu Sans Mono (font, for displaying unicode characters)
hideshow
, modified to use a nicer folded-region indicator.- Custom fringe bitmaps for
git-gutter-fringe
(thin bars)
Install
Fira Mono is this module's only dependency (if you want to use it).
MacOS
brew tap caskroom/fonts
brew cask install font-fira-{sans,mono} font-dejavu-sans
Arch Linux
sudo pacman --noconfirm --needed -S ttf-fira-{sans,mono} ttf-dejavu
Troubleshooting
Strange font symbols
If you're getting strange unicode symbols, that is likely all-the-icons
doing (caused by other UI modules, specifically doom-modeline and doom-dashboard).
You must install the fonts included with all-the-icons
with: M-x all-the-icons-install-fonts
.