doomemacs/modules/config/default
Henrik Lissner 2c5c192b6f
Fix conflict on C-c p s #1425
Moved scratch buffer to C-c p x and X. This overrides projectile's term
commands, but users should be using the term, vterm and eshell modules'
commands instead.
2019-05-21 17:24:22 -04:00
..
autoload Fix typo in +default/org-notes-headlines 2019-05-20 21:09:10 -04:00
+emacs-bindings.el Fix conflict on C-c p s #1425 2019-05-21 17:24:22 -04:00
+emacs.el Move winum to ui/window-select module 2019-05-09 21:44:19 -04:00
+evil-bindings.el Standardize C-c C-e for ivy wgrep 2019-05-21 00:30:42 -04:00
+evil.el Apply smartparens config to all users 2019-04-03 19:15:02 -04:00
config.el Add doom/help-package-homepage command (SPC h d P) 2019-05-20 21:09:11 -04:00
packages.el Move winum to ui/window-select module 2019-05-09 21:44:19 -04:00
README.org 💥 Remove :feature category 2019-04-24 18:16:04 -04:00

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

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+!