mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-04 15:03:42 -05:00
Adds the following commands: - doom/help (opens the Doom manual) - doom/help-search (for searching through org headlines in Doom's documentation) - doom/help-faq (for searching the FAQ) - doom/help-news (for browsing the Doom newsletters) - doom/help-autodefs (renamed from doom/describe-autodef -- for looking up documentation on autodef function/macros, like `set-lookup-handler!`) - doom/help-modules (renamed from doom/describe-module, for jumping to a Doom module's documentation) - doom/help-packages (renamed from doom/describe-package and recently fixed -- looks up information about installed packages, including what Doom module(s) install it and where it is configured) - doom/help-package-config (for searching and jumping to any block where a package is configured in Doom Emacs) Also adds the SPC h d (or C-h d) prefix for Doom-specific help commands. SPC h D will invoke doom/help. However, the documentation itself hasn't been committed yet, so some of these commands may be useless atm. Sorry!
:config default
This module provides a set of reasonable defaults, including:
- A Spacemacs-esque keybinding scheme
- Extra Ex commands for evil-mode users
- A yasnippet snippets library tailored to Doom emacs
- A configuration for (almost) universally repeating searches with
;
and,
The defaults module is intended as a "reasonable-defaults" module, but also as a reference for your own private modules. You'll find my private module in a separate repo.
Refer to the Customization page on the wiki for details on starting your own private module.
Table of Contents TOC
Install
This module has no external dependencies.
Configuration
Using another snippets library
Don't want to use provided one? Then add this to your private module,
;; in config/$USER/packages.el
(package! emacs-snippets :ignore t)
;; in config/$USER/config.el
(def-package-hook! emacs-snippets :disabled t)
(after! yasnippet
(push "~/path/to/my/private/snippets" yas-snippet-dirs))
I'm not an evil user…
That's fine. All evil configuration is ignored if :editor evil
is disabled.
Appendix
Commands
+default/browse-project
+default/browse-templates
+default/find-in-templates
+default/browse-emacsd
+default/find-in-emacsd
+default/browse-notes
+default/find-in-notes
+default/find-in-snippets
Hacks
epa-pinentry-mode
is set to'loopback
, forcing gpg-agent to use the Emacs minibuffer when prompting for your passphrase. Only works with GPG 2.1+!