Andersbakken/rtags@05117a9a29 -> Andersbakken/rtags@bd1c818a99 FStarLang/fstar-mode.el@7d353de892 -> FStarLang/fstar-mode.el@6e5d3ea858 JuliaEditorSupport/julia-emacs@2dfc869ff6 -> JuliaEditorSupport/julia-emacs@d360ad5285 ProofGeneral/PG@a38857a6a0 -> ProofGeneral/PG@99f91e873e Raku/raku-mode@977b14a7c1 -> Raku/raku-mode@14f9b9bba0 Wilfred/pip-requirements.el@216cd1690f -> Wilfred/pip-requirements.el@31e0dc62ab Wilfred/pyimport@c006a5fd0e -> Wilfred/pyimport@4398ce8dd6 ananthakumaran/exunit.el@e008c89e01 -> ananthakumaran/exunit.el@ee06b14b61 beancount/beancount-mode@546163fd2c -> beancount/beancount-mode@71c1622246 cybniv/poetry.el@ca2cffb0b1 -> cybniv/poetry.el@1dff0d4a51 davazp/graphql-mode@49a391b529 -> davazp/graphql-mode@ef4aecaead dgutov/robe@4ecd868da9 -> dgutov/robe@6bc8a07fc4 diml/utop@8cc5632825 -> diml/utop@384b3098c8 dominikh/go-mode.el@6f4ff9ef87 -> dominikh/go-mode.el@636d36e37a emacs-lsp/emacs-ccls@9b4a47e041 -> emacs-lsp/emacs-ccls@8648238a92 emacs-lsp/lsp-dart@f51c80f545 -> emacs-lsp/lsp-dart@1f52e81c93 emacs-lsp/lsp-haskell@89d1637043 -> emacs-lsp/lsp-haskell@18a7c7881f emacs-lsp/lsp-java@c962a3b3ac -> emacs-lsp/lsp-java@4909c14b90 emacs-lsp/lsp-metals@e55d544996 -> emacs-lsp/lsp-metals@fa4072cbe7 emacs-lsp/lsp-pyright@2f2631ae24 -> emacs-lsp/lsp-pyright@cc6df06aea emacs-lsp/lsp-sourcekit@1cd5e7d269 -> emacs-lsp/lsp-sourcekit@bb2b7e0278 emacs-lsp/lsp-treemacs@e54e74deb8 -> emacs-lsp/lsp-treemacs@1d43e9e030 emacs-php/composer.el@91945f1bdb -> emacs-php/composer.el@42cf9848d4 emacs-php/php-mode@a0bcafbe30 -> emacs-php/php-mode@4792988a12 emacs-php/phpactor.el@8733fef84b -> emacs-php/phpactor.el@6b5269ff82 emacs-php/psysh.el@c7dde979d9 -> emacs-php/psysh.el@ae15a36301 emacs-straight/adaptive-wrap@70005d2012 -> emacs-straight/adaptive-wrap@a3b179ea21 emacs-straight/auctex@86b2397abd -> emacs-straight/auctex@280cd4a0ca emacs-straight/csv-mode@81c1a9febd -> emacs-straight/csv-mode@cdb73a771b emacs-straight/sml-mode@e5354371f3 -> emacs-straight/sml-mode@d114e5a27f emacsorphanage/dart-mode@dffc0209a1 -> emacsorphanage/dart-mode@44beb628e5 erlang/otp@0ca7e064f5 -> erlang/otp@2a64588d4a factor/factor@12fc9d5071 -> factor/factor@d143007778 fosskers/sly-overlay@916b50297a -> fosskers/sly-overlay@4c6135c260 fsharp/emacs-fsharp-mode@b4d31c3da0 -> fsharp/emacs-fsharp-mode@677d78c4d6 gcv/julia-snail@a25ce84748 -> gcv/julia-snail@f7784c5007 godotengine/emacs-gdscript-mode@8a28276daa -> godotengine/emacs-gdscript-mode@32086df833 greghendershott/racket-mode@d3ab936af1 -> greghendershott/racket-mode@40ecb87f40 haskell/haskell-mode@43b4036bf0 -> haskell/haskell-mode@727f72a2a4 hhvm/hack-mode@278e4cc403 -> hhvm/hack-mode@ccf20511f0 idris-hackers/idris-mode@37c6b81990 -> idris-hackers/idris-mode@38dd2380dc joaotavora/sly@ed17d2c2bd -> joaotavora/sly@ba40c8f054 jrblevin/markdown-mode@e096bb97a9 -> jrblevin/markdown-mode@8aab017f47 json-emacs/json-mode@bfd1557aaa -> json-emacs/json-mode@77125b01c0 jwiegley/emacs-async@d040f72cb0 -> jwiegley/emacs-async@cff2bd0be3 ledger/ledger-mode@11e748d483 -> ledger/ledger-mode@b0e65f74a5 ljos/jq-mode@37028e1200 -> ljos/jq-mode@a0f79eba78 nonsequitur/inf-ruby@dac615c7fd -> nonsequitur/inf-ruby@0cfe8b2fb1 ocaml-ppx/ocamlformat@b8b0956690 -> ocaml-ppx/ocamlformat@c43f89bc0e ocaml/dune@64d19876ad -> ocaml/dune@aac3d84f1d ocaml/merlin@8404f96693 -> ocaml/merlin@b6ff2d4d56 pythonic-emacs/anaconda-mode@efd42aa873 -> pythonic-emacs/anaconda-mode@79fa9b4d2b pythonic-emacs/company-anaconda@dabc0adc9a -> pythonic-emacs/company-anaconda@1fe526163c pythonic-emacs/pyenv-mode@c93dc07e85 -> pythonic-emacs/pyenv-mode@de0d750b9c rust-lang/rust-mode@d8a09f218e -> rust-lang/rust-mode@d00d83d3a2 salmanebah/opencl-mode@15091eff92 -> salmanebah/opencl-mode@10ae7742d5 seagle0128/grip-mode@e145adb225 -> seagle0128/grip-mode@7c42b8f61d smihica/emmet-mode@63b6932603 -> smihica/emmet-mode@322d3bb112 swift-emacs/swift-mode@84059659de -> swift-emacs/swift-mode@b06c97b909 technomancy/fennel-mode@5965c8fc69 -> technomancy/fennel-mode@a4ddd1750f tpapp/julia-repl@4947319bc9 -> tpapp/julia-repl@801d0fc3d8 wbolster/emacs-python-pytest@bdfb3e81ee -> wbolster/emacs-python-pytest@9f850e22df yoshiki/yaml-mode@5b58248ab2 -> yoshiki/yaml-mode@7b5ce294fb
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.3 (Recommended: 29.3 + 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.