Getting The Doom Emacs Look Without Doom Emacs

In this article, I’m going to show you how you can get a nice Doom emacs looks in your Emacs text editor without having to install the massive Doom Emacs package in its entirety. The doom Emacs program is a highly sophisticated configuration for Emacs that combines some of the best packages and customizations you could want. However, if you’re like me, you might prefer a more minimalist configuration, and only adding packages if you decide you really need them. In that case, follow along below to see how you (yes, you) can get the Doom emacs look without all the addditional baggage.

Phase 1: The Package Managers

First, make sure you have some package managers ready to go:

(require 'package)
(setq package-archives '(("melpa" . "")
                       ("nongnu" . "")
                       ("elpa" . "")))
(unless package-archive-contents
(unless (package-installed-p 'use-package)
  (package-install 'use-package))
(require 'use-package)
(setq use-package-always-ensure t)

Phase 2: Set Some Style and Window Dressing

I like slightly bigger font, but you don’t have to use this:

(set-face-attribute 'default nil   :height 167)

And some preferred window styling and other configuration niceties:

(menu-bar-mode -1)
(tool-bar-mode -1)
(scroll-bar-mode -1)
(setq inhibit-startup-message t
      initial-scratch-message nil
      ring-bell-function 'ignore
(setq make-backup-files nil)

Phase 3: Get the Doom Look

First, must install the doom themes, and load one:

(use-package doom-themes
:ensure t)
(load-theme 'doom-one)

Turn on the doom modeline:

(use-package doom-modeline
:ensure t)
(setq doom-modeline-hud nil)
(setq doom-modeline-buffer-encoding nil)
(setq doom-modeline-minor-modes nil)

Support for all the icons, to get the nice icons in the modeline:

(use-package all-the-icons
  :ensure t)

And be sure to run the command to install the fonts:

M-x all-the-icons-install-fonts

Phase Final: Thy Flesh Consumed

It’s time to sit back and enjoy your Doom look, and, at the same time, a minimal Emacs configuration.

🕶 Yes!

Sign up to get an occasional email from me with the content you crave.

We’ll never send you spam or share your email address.
Find out more in our [link]Privacy Policy[/link].

Be the first to comment

Leave a Reply

Your email address will not be published.