Skip to content

Instantly share code, notes, and snippets.

View hlissner's full-sized avatar
💭
Prepping Doom v3

Henrik Lissner hlissner

💭
Prepping Doom v3
View GitHub Profile
@hlissner
hlissner / why-is-emacs-doom-being-slow.md
Created August 31, 2026 22:50
Doom Emacs: why is emacs/doom being slow?

< back to index

Important

This gist is temporary until the new documentation (docs.doomemacs.org) and community wiki (wiki.doomemacs.org) have been published.

Warning

This page was copied verbatim from Doom's former Discourse and hasn't been updated or reformatted. It may be outdated and formatting may be broken.

Why is (Doom) Emacs being slow?

@hlissner
hlissner / emacs-for-writing.md
Created August 31, 2026 15:33
Doom Emacs: using emacs for writing

< back to index

Important

This gist is temporary until the new documentation (docs.doomemacs.org) and community wiki (wiki.doomemacs.org) have been published.

Warning

This page was copied verbatim from Doom's former Discourse and hasn't been updated or reformatted. It may be outdated and formatting may be broken.

Using Emacs for writing

@hlissner
hlissner / common-errors.md
Created August 31, 2026 15:30
Doom Emacs: common errors

< back to index

Important

This gist is temporary until the new documentation (docs.doomemacs.org) and community wiki (wiki.doomemacs.org) have been published.

Warning

This page was copied verbatim from Doom's former Discourse and hasn't been updated or reformatted. It may be outdated and formatting may be broken.

Common Errors and what to do about them

@hlissner
hlissner / edit-anything-in-emacs.md
Created August 31, 2026 15:27
Doom Emacs: edit anything in Emacs

< back to index

Important

This gist is temporary until the new documentation (docs.doomemacs.org) and community wiki (wiki.doomemacs.org) have been published.

Warning

This page was copied verbatim from Doom's former Discourse and hasn't been updated or reformatted. It may be outdated and formatting may be broken.

Edit anything in Emacs

@hlissner
hlissner / how-to-rebind-keys.md
Created August 31, 2026 02:58
Doom Emacs: how to rebind keys

< back to index

Important

This gist is temporary until the new documentation (docs.doomemacs.org) and community wiki (wiki.doomemacs.org) have been published.

How to (re)bind keys

Every Emacs user will want to (re)bind keys at some point, but keybindings can be a complicated affair in Emacs, what with all the keymaps and hierarchy of precedence. This guide walks you through the concepts and how to bind keys in a number of scenarios.

@hlissner
hlissner / dired.md
Created August 31, 2026 02:21
Doom Emacs: cheatsheets

< back to index

Important

This gist is temporary until the new documentation (docs.doomemacs.org) and community wiki (wiki.doomemacs.org) have been published.

Dired keybind cheatsheet

This is a reference sheet for our favorite dired commands and keybinds. Here some other prominent cheat sheets:

@hlissner
hlissner / how-to-customize-themes.md
Created August 31, 2026 02:15
Doom Emacs: how to customize themes

< back to index

Important

This gist is temporary until the new documentation (docs.doomemacs.org) and community wiki (wiki.doomemacs.org) have been published.

How to customize themes

Themes control Emacs' color scheme. You will no doubt want to customize them, if Doom's or Emacs' default themes don't suit you. This usually means one of four things:

@hlissner
hlissner / associate-file-or-buffer-with-major-mode.md
Last active September 2, 2026 00:37
Doom Emacs: associate a file/buffer with a particular major mode

< back to index

Important

This gist is temporary until the new documentation (docs.doomemacs.org) and community wiki (wiki.doomemacs.org) have been published.

Associate a file/buffer with a particular major mode

When Emacs visits a file, it determines the major mode to activate based on:

@hlissner
hlissner / file-and-dir-local-settings.md
Created August 31, 2026 02:06
Doom Emacs: file and directory local settings

< back to index

Important

This gist is temporary until the new documentation (docs.doomemacs.org) and community wiki (wiki.doomemacs.org) have been published.

File and Directory local settings

Emacs can be configured on a per-file, directory, or mode basis using file or directory local settings. This involves a special comment at the top or bottom of the file, or in a .dir-locals.el file.

@hlissner
hlissner / anti-patterns.md
Last active August 31, 2026 01:49
Doom Emacs: common config anti-patterns

< back to index

Important

This gist is temporary until the new documentation (docs.doomemacs.org) and community wiki (wiki.doomemacs.org) have been published.

Common config anti-patterns

Over the years, I've noticed common issues in the private configs of Doom's users. Here, I document those that stand out most (and are caused by misunderstanding rather than bugs), with hopeful solutions. Many of these cause subtle issues that can lead to misbehavior down the road.