No description
Find a file
Henrik Lissner ce6ea7d85f
bump: :lang
Andersbakken/rtags@ee1ab7b9a6 -> Andersbakken/rtags@05117a9a29
FStarLang/fstar-mode.el@ab0697b947 -> FStarLang/fstar-mode.el@7d353de892
Fanael/edit-indirect@f80f63822f -> Fanael/edit-indirect@82a28d8a85
ProofGeneral/PG@8416875696 -> ProofGeneral/PG@a38857a6a0
Sarcasm/irony-mode@870d1576fb -> Sarcasm/irony-mode@40e0ce19eb
aaronjensen/flycheck-credo@e88f11ead5 -> aaronjensen/flycheck-credo@e285bd042a
agda/agda@bb7603d197 -> agda/agda@fbf9d159c3
amake/flutter.el@edd3f5eb3f -> amake/flutter.el@004c91e070
ananthakumaran/exunit.el@e0a8c2b81f -> ananthakumaran/exunit.el@e008c89e01
ananthakumaran/tide@29475d9eee -> ananthakumaran/tide@b38dfc3f8f
arthurnn/minitest-emacs@ddd152c990 -> arthurnn/minitest-emacs@5999c45c04
babashka/neil@40993873bb -> babashka/neil@a1db63d420
beancount/beancount-mode@0f1e33067e -> beancount/beancount-mode@546163fd2c
borkdude/flycheck-clj-kondo@ff7bed2315 -> borkdude/flycheck-clj-kondo@9089ade9e0
cdominik/cdlatex@ac024ce293 -> cdominik/cdlatex@33770dec73
clojure-emacs/cider@120fd885d3 -> clojure-emacs/cider@aa26d62ac5
clojure-emacs/clj-refactor.el@0a2a6cbc2e -> clojure-emacs/clj-refactor.el@fa3efe18e7
clojure-emacs/clojure-mode@25d713a67d -> clojure-emacs/clojure-mode@222fdafa2a
clojure-emacs/parseclj@74ff7d63fe -> clojure-emacs/parseclj@6af22372e0
clojure-emacs/parseedn@c8f07926a6 -> clojure-emacs/parseedn@3407e4530a
crystal-lang-tools/emacs-crystal-mode@9bfb9f0f56 -> crystal-lang-tools/emacs-crystal-mode@ea89b108fa
davazp/graphql-mode@1437b79006 -> davazp/graphql-mode@49a391b529
dgutov/robe@912ae2ba1f -> dgutov/robe@4ecd868da9
dominikh/go-mode.el@166dfb1e09 -> dominikh/go-mode.el@8dce1e3ba1
elixir-editors/emacs-elixir@7641373f05 -> elixir-editors/emacs-elixir@00d6580a04
emacs-geiser/geiser@49d12a1448 -> emacs-geiser/geiser@bb77719c25
emacs-geiser/guile@ee33af6b4e -> emacs-geiser/guile@6e0811c75d
emacs-lsp/emacs-ccls@dd33da8ed7 -> emacs-lsp/emacs-ccls@9b4a47e041
emacs-lsp/lsp-dart@3db9f93c83 -> emacs-lsp/lsp-dart@e7ee6afc2e
emacs-lsp/lsp-java@449673da72 -> emacs-lsp/lsp-java@c962a3b3ac
emacs-php/composer.el@5af1707fef -> emacs-php/composer.el@91945f1bdb
emacs-php/php-mode@fb11df8268 -> emacs-php/php-mode@a0bcafbe30
emacs-php/phpactor.el@9440005814 -> emacs-php/phpactor.el@8733fef84b
emacs-php/psysh.el@796b26a5cd -> emacs-php/psysh.el@c7dde979d9
emacs-straight/adaptive-wrap@0d5b4a07de -> emacs-straight/adaptive-wrap@70005d2012
emacs-straight/auctex@3929d5408b -> emacs-straight/auctex@86b2397abd
emacs-straight/csv-mode@d190a479b4 -> emacs-straight/csv-mode@81c1a9febd
emacs-straight/rainbow-mode@8e96388fb4 -> emacs-straight/rainbow-mode@70ed10d410
emacs-straight/sml-mode@5426ff4738 -> emacs-straight/sml-mode@e5354371f3
emacsmirror/cmake-mode@f9c7a21254 -> emacsmirror/cmake-mode@b08b5d9045
emacsorphanage/dart-mode@9c846769ab -> emacsorphanage/dart-mode@dffc0209a1
erlang/otp@be7109f43b -> erlang/otp@0ca7e064f5
factor/factor@76ac65649d -> factor/factor@23fcfc7075
flycheck/flycheck-cask@4b2ede6362 -> flycheck/flycheck-cask@0eeec5197e
fxbois/web-mode@57856ba64b -> fxbois/web-mode@82847071ce
gcv/julia-snail@18b891b456 -> gcv/julia-snail@d36653bb93
gdkrmr/lsp-julia@c584f79c7f -> gdkrmr/lsp-julia@c869b2f6c0
godotengine/emacs-gdscript-mode@d392e8aa7e -> godotengine/emacs-gdscript-mode@8a28276daa
greghendershott/racket-mode@947d9806ee -> greghendershott/racket-mode@d3ab936af1
haskell/haskell-mode@79eaf444a7 -> haskell/haskell-mode@43b4036bf0
hhvm/hack-mode@26f06ffe82 -> hhvm/hack-mode@278e4cc403
hvesalai/emacs-scala-mode@5d7cf21c37 -> hvesalai/emacs-scala-mode@4c6d636b86
idris-hackers/idris-mode@c96f45d1b8 -> idris-hackers/idris-mode@37c6b81990
immerrr/lua-mode@7eb8eaa420 -> immerrr/lua-mode@d074e4134b
iyefrat/evil-tex@3e0a26b91a -> iyefrat/evil-tex@2a3177c818
jrblevin/markdown-mode@b1a862f016 -> jrblevin/markdown-mode@e096bb97a9
json-emacs/json-mode@eedb456003 -> json-emacs/json-mode@bfd1557aaa
jwiegley/emacs-async@71cc50f27f -> jwiegley/emacs-async@d040f72cb0
ledger/ledger-mode@4b32f70173 -> ledger/ledger-mode@11e748d483
ljos/jq-mode@071c1c29ba -> ljos/jq-mode@37028e1200
nex3/haml-mode@fe83c65c1f -> nex3/haml-mode@a64d58df8f
nlamirault/phpunit.el@4a36906344 -> nlamirault/phpunit.el@650a50898d
nonsequitur/inf-ruby@03475ac1cc -> nonsequitur/inf-ruby@dac615c7fd
ocaml-ppx/ocamlformat@7db948a894 -> ocaml-ppx/ocamlformat@b8b0956690
ocaml/dune@360b000271 -> ocaml/dune@64d19876ad
pashky/restclient.el@0ba72816f9 -> pashky/restclient.el@e2a2b13482
psibi/dhall-mode@c77f1c1e75 -> psibi/dhall-mode@87ab69fe76
purescript-emacs/emacs-psci@9bb6a32532 -> purescript-emacs/emacs-psci@ef31045295
purescript-emacs/psc-ide-emacs@ce97d71945 -> purescript-emacs/psc-ide-emacs@4e614df553
s-kostyaev/go-gen-test@f84f4177af -> s-kostyaev/go-gen-test@af00a9abba
seagle0128/grip-mode@5809fb62f6 -> seagle0128/grip-mode@e145adb225
senny/rbenv.el@2ea1a5bdc1 -> senny/rbenv.el@588b817d51
technomancy/fennel-mode@8f721285e1 -> technomancy/fennel-mode@5965c8fc69
tpapp/julia-repl@9503ef7110 -> tpapp/julia-repl@4947319bc9
weijiangan/flycheck-golangci-lint@8e446c6831 -> weijiangan/flycheck-golangci-lint@9def093e41
wwwjfy/emacs-fish@6869efbc05 -> wwwjfy/emacs-fish@2526b1803b
yoshiki/yaml-mode@3fcb36d603 -> yoshiki/yaml-mode@5b58248ab2

Close: #7648
2024-02-05 17:21:20 -05:00
.github dev: update supported Emacs version in issue template 2023-09-07 20:22:58 +02:00
bin revert: fix(cli): set LC_ALL to force english output 2023-08-21 18:17:05 +02:00
docs refactor(emacs-lisp): elisp-demos: reorganize Doom demos 2024-02-04 17:54:29 -05:00
lisp fix: doom-module-locate-paths: remove file-name-sans-extension call 2024-02-05 17:21:20 -05:00
modules bump: :lang 2024-02-05 17:21:20 -05:00
profiles nit: reformatting, comment, and markup revision 2023-12-02 11:34:10 -05:00
templates module: remove :tools gist 2024-02-04 19:11:29 -05:00
.dir-locals.el revert: fix(docs): set mode in file-local vars 2022-08-07 19:08:07 +02:00
.doomrc refactor: register :core & :user as virtual modules 2022-09-16 01:14:22 +02:00
.gitignore dev: ignore .DS_Store at top level 2023-11-29 23:18:26 -05:00
early-init.el fix(profiles): not loading $EMACSDIR/init.el 2022-10-02 18:46:37 +02:00
LICENSE dev: fix license start year 2022-04-01 19:12:47 +02:00
README.md docs: bump supported Emacs version to 29.2 2024-02-04 17:54:30 -05:00
shell.nix dev: shell.nix: add emacs 29, 30.0.50, & CI versions 2023-09-12 21:30:56 +02:00

Doom Emacs

InstallDocumentationFAQScreenshotsContribute

Made with Doom Emacs Supports Emacs 27.1–29.2 Latest commit Build status: master Discord Server Discourse server

Doom Emacs Screenshot


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.129.2 (Recommended: 29.2 + 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 private init.el or packages.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 your PATH, among other things.
  • doom build to recompile all installed packages (use this if you up/downgrade Emacs).

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.
  • 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

PRs Welcome Elisp styleguide Donate on liberapay Donate on paypal

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.