JuliaEditorSupport/julia-emacs@d360ad5285 -> JuliaEditorSupport/julia-emacs@2aca8cf585 ProofGeneral/PG@3a99da2755 -> ProofGeneral/PG@b30d65de80 abo-abo/org-download@19e166f0a8 -> abo-abo/org-download@c8be261178 agda/agda@4f82f9b90a -> agda/agda@819993172d ananthakumaran/tide@b38dfc3f8f -> ananthakumaran/tide@6a35fe355f babashka/neil@6728367eff -> babashka/neil@78ffab1868 beancount/beancount-mode@7b437abcf0 -> beancount/beancount-mode@452621fa1f cdominik/cdlatex@33770dec73 -> cdominik/cdlatex@fac070f016 clojure-emacs/cider@8fdb53e8be -> clojure-emacs/cider@c228dec27d davazp/graphql-mode@ef4aecaead -> davazp/graphql-mode@c3baca9280 diml/utop@384b3098c8 -> diml/utop@b490baca21 emacs-geiser/guile@5a856c2982 -> emacs-geiser/guile@a0f111f8de emacs-geiser/mit@4e90e9ae81 -> emacs-geiser/mit@ddd2ba733e emacs-jupyter/jupyter@f97f4b5d8c -> emacs-jupyter/jupyter@e966c5d3d6 emacs-lsp/lsp-dart@9ffbafb7dc -> emacs-lsp/lsp-dart@7e3d342941 emacs-lsp/lsp-haskell@ba49fa9822 -> emacs-lsp/lsp-haskell@6981f8d122 emacs-lsp/lsp-metals@0dc938be11 -> emacs-lsp/lsp-metals@b5139c9593 emacs-lsp/lsp-pyright@0c0d72aedd -> emacs-lsp/lsp-pyright@dd54b3ae7c emacs-php/composer.el@791a7104be -> emacs-php/composer.el@6c7e19256f emacs-php/php-mode@59814bd80c -> emacs-php/php-mode@31f702ee2d emacs-rustic/rustic@d765680373 -> emacs-rustic/rustic@9fdf5c76b2 emacs-straight/auctex@08881d08ce -> emacs-straight/auctex@0de9730957 emacs-typescript/typescript.el@fc3a4f3b27 -> emacs-typescript/typescript.el@dd10f702d4 emacsmirror/org-contrib@ccd4212866 -> emacsmirror/org-contrib@f22bdd6a58 emacsmirror/paredit@037b9b8acb -> emacsmirror/paredit@af075775af emacsorphanage/dart-mode@44beb628e5 -> emacsorphanage/dart-mode@02e919c1cf emacsorphanage/macrostep@4939d88779 -> emacsorphanage/macrostep@419873665f erlang/otp@c66bf53cde -> erlang/otp@094260aba7 flatwhatson/scheme-mode@51e586e5f1 -> flatwhatson/scheme-mode@a713b253d2 godotengine/emacs-gdscript-mode@32086df833 -> godotengine/emacs-gdscript-mode@bee7f99c6f greghendershott/racket-mode@dba66c4536 -> greghendershott/racket-mode@c5bee6895b hakimel/reveal.js@472535065c -> hakimel/reveal.js@0d02d8a303 haskell/haskell-mode@727f72a2a4 -> haskell/haskell-mode@1a285fc4c5 hniksic/emacs-htmlize@ed5e5b05fd -> hniksic/emacs-htmlize@8e3841c837 jimhourihan/glsl-mode@9b2e5f28e4 -> jimhourihan/glsl-mode@c5f2c2e7ed jrblevin/markdown-mode@6102ac5b73 -> jrblevin/markdown-mode@b8637bae07 jwiegley/emacs-async@43f97d7e68 -> jwiegley/emacs-async@af47d6f930 kaushalmodi/ox-hugo@c4156d9d38 -> kaushalmodi/ox-hugo@98421a1298 ledger/ledger-mode@a6be7a2d79 -> ledger/ledger-mode@356d8049ed necaris/conda.el@ce748a53f9 -> necaris/conda.el@05de0c8f0c non-Jedi/eglot-jl@1d9cab6823 -> non-Jedi/eglot-jl@7c968cc61f nonsequitur/inf-ruby@b234625c85 -> nonsequitur/inf-ruby@6399a36682 ocaml/dune@a7924e322e -> ocaml/dune@5ac095c7c0 ocaml/merlin@e016abfac6 -> ocaml/merlin@a36f42a5b1 org-noter/org-noter@6f292d7f1e -> org-noter/org-noter@691efc3ed4 org-roam/org-roam@0b9fcbc97b -> org-roam/org-roam@2a630476b3 purcell/flycheck-ledger@628e25ba66 -> purcell/flycheck-ledger@48bed9193c purcell/flycheck-package@75efa098cf -> purcell/flycheck-package@a52e4e95f3 purcell/less-css-mode@c7fa3d56d8 -> purcell/less-css-mode@c78b88ff9a purescript-emacs/purescript-mode@eacc61aaaf -> purescript-emacs/purescript-mode@d187b3d4bb rust-lang/rust-mode@c87f6f82bd -> rust-lang/rust-mode@542f1755d8 seagle0128/grip-mode@9adac9c989 -> seagle0128/grip-mode@d6c7e33e40 senny/rbenv.el@588b817d51 -> senny/rbenv.el@4afe1dc6bd swift-emacs/swift-mode@b06c97b909 -> swift-emacs/swift-mode@ab189d6e89 technomancy/fennel-mode@f4bd34e1c3 -> technomancy/fennel-mode@259470b297 tpapp/julia-repl@801d0fc3d8 -> tpapp/julia-repl@bb90cc1fce wbolster/emacs-python-pytest@dcdaec6fe2 -> wbolster/emacs-python-pytest@25d9801562 yoshiki/yaml-mode@7b5ce294fb -> yoshiki/yaml-mode@d91f878729 ziglang/zig-mode@f55e42536a -> ziglang/zig-mode@f0b4a48753
Table of Contents
Introduction

It is a story as old as time. A stubborn, shell-dwelling, and melodramatic vimmer—envious of the features of modern text editors—spirals into despair before he succumbs to the dark side. This is his config.
Doom is a configuration framework for GNU Emacs tailored for Emacs bankruptcy veterans who want less framework in their frameworks, a modicum of stability (and reproducibility) from their package manager, and the performance of a hand rolled config (or better). It can be a foundation for your own config or a resource for Emacs enthusiasts to learn more about our favorite operating system.
Its design is guided by these mantras:
- Gotta go fast. Startup and run-time performance are priorities. Doom goes beyond by modifying packages to be snappier and load lazier.
- Close to metal. There's less between you and vanilla Emacs by design. That's less to grok and less to work around when you tinker. Internals ought to be written as if reading them were part of Doom's UX, and it is!
- Opinionated, but not stubborn. Doom is about reasonable defaults and curated opinions, but use as little or as much of it as you like.
- Your system, your rules. You know better. At least, Doom hopes so! It
won't automatically install system dependencies (and will force plugins not
to either). Rely on
doom doctor
to tell you what's missing. - Nix/Guix is a great idea! The Emacs ecosystem is temperamental. Things break and they break often. Disaster recovery should be a priority! Doom's package management should be declarative and your private config reproducible, and comes with a means to roll back releases and updates (still a WIP).
Check out the FAQ for answers to common questions about the project.
Features
- Minimalistic good looks inspired by modern editors.
- Curated and sane defaults for many packages, (major) OSes, and Emacs itself.
- A modular organizational structure for separating concerns in your config.
- A standard library designed to simplify your elisp bike shedding.
- A declarative package management system (powered by straight.el) with a command line interface. Install packages from anywhere, not just (M)ELPA, and pin them to any commit.
- Optional vim emulation powered by evil-mode, including ports of popular vim plugins like vim-sneak, vim-easymotion, vim-unimpaired and more!
- Opt-in LSP integration for many languages, using lsp-mode or eglot
- Support for many programming languages. Includes syntax highlighting, linters/checker integration, inline code evaluation, code completion (where possible), REPLs, documentation lookups, snippets, and more!
- Support for many tools, like docker, pass, ansible, terraform, and more.
- A Spacemacs-esque keybinding scheme, centered around leader and localleader prefix keys (SPC and SPCm for evil users, C-c and C-c l for vanilla users).
- A rule-based popup manager to control how temporary buffers are displayed (and disposed of).
- Per-file indentation style detection and editorconfig integration. Let someone else argue about tabs vs spaces.
- Project-management tools and framework-specific minor modes with their own snippets libraries.
- Project search (and replace) utilities, powered by ripgrep and ivy or helm.
- Isolated and persistent workspaces (also substitutes for vim tabs).
- Support for Chinese and Japanese input systems.
- Save a snapshot of your shell environment to a file for Emacs to load at
startup. No more struggling to get Emacs to inherit your
PATH
, among other things.
Prerequisites
- Git 2.23+
- Emacs 27.1–29.4 (Recommended: 29.4 + native-comp)
- ripgrep 11.0+
- GNU
find
- OPTIONAL: fd 7.3.0+ (improves file indexing performance for some commands)
Warning
Unstable and pre-release builds of Emacs -- which end in
.50
,.60
, or.9X
(e.g.28.1.91
) -- are not officially supported. There is some effort to support Emacs HEAD, however. Follow this Discourse post for details.
Important
Doom is comprised of ~150 optional modules, some of which may have additional dependencies. Visit their documentation or run
bin/doom doctor
to check for any that you may have missed.
Install
git clone --depth 1 https://github.com/doomemacs/doomemacs ~/.config/emacs
~/.config/emacs/bin/doom install
Then read our Getting Started guide to be walked through installing, configuring and maintaining Doom Emacs.
It's a good idea to add ~/.config/emacs/bin
to your PATH
! Other bin/doom
commands you should know about:
doom sync
to synchronize your private config with Doom by installing missing packages, removing orphaned packages, and regenerating caches. Run this whenever you modify your privateinit.el
orpackages.el
, or install/remove an Emacs package through your OS package manager (e.g. mu4e or agda).doom upgrade
to update Doom to the latest release & all installed packages.doom doctor
to diagnose common issues with your system and config.doom env
to dump a snapshot of your shell environment to a file that Doom will load at startup. This allows Emacs to inherit yourPATH
, among other things.
Roadmap
Doom is an active and ongoing project. To make that development more transparent, its roadmap (and other concerns) are published across three github project boards and a newsletter:
- Development Roadmap: roughly outlines our goals between release milestones and their progress.
- Plugins under review: lists plugins we are watching and considering for inclusion, and what their status for inclusion is. Please consult this list before requesting new packages/features.
- Upstream bugs: lists issues that originate from elsewhere, and whether or not we have local workarounds or temporary fixes for them.
Doom's newsletter(not finished) will contain changelogs in between releases.
Getting help
Emacs is no journey of a mere thousand miles. You will run into problems and mysterious errors. When you do, here are some places you can look for help:
- Our documentation covers many use cases.
- The Configuration section covers how to configure Doom and its packages.
- The Package Management section covers how to install and disable packages.
- This section explains the
bin/doom
script's most important commands. - This section lists some common configuration mistakes new users make, when migrating a config from another distro or their own.
- This answer shows you how to add your own themes to your private config.
- This answer shows you how to change the default font.
- Your issue may be documented in the FAQ.
- With Emacs built-in help system documentation is a keystroke away:
- For functions: SPC h f or C-h f
- For variables: SPC h v or C-h v
- For a keybind: SPC h k or C-h k
- To search available keybinds: SPC h b b or C-h b b
- Run
bin/doom doctor
to detect common issues with your development environment and private config. - Check out the FAQ or Discourse FAQs, in case your question has already been answered.
- Search Doom's issue tracker in case your issue was already reported.
- Hop on our Discord server; it's active and friendly! Keep an eye on the #announcements channel, where I announce breaking updates and releases.
Contribute
Doom is a labor of love and incurable madness, but I'm only one guy. Doom wouldn't be where it is today without your help. I welcome contributions of any kind!
- I ❤️ pull requests and bug reports (see the Contributing Guidelines)!
- Don't hesitate to tell me my Elisp-fu sucks, but please tell me why.
- Hop on our Discord server and say hi! Help others, hang out or talk to me about Emacs, gamedev, programming, physics, pixel art, anime, gaming -- anything you like. Nourish this lonely soul.
- If you'd like to support my work financially, buy me a drink through liberapay or paypal. My work contends with studies, adventures in indie gamedev and freelance work. Donations help me allocate more time to my Emacs and OSS capers.