doomemacs/modules/config/default
2019-02-01 15:57:11 -05:00
..
autoload Standardize M-RET/M-S-RET as an "add new item" key 2019-01-21 22:07:31 -05:00
+emacs-bindings.el Fix <f9> = +treemacs/toggle for non-evil users 2019-01-29 18:59:21 -05:00
+evil-bindings.el Merge pull request #1145 from versinib/develop 2019-01-28 21:01:32 -05:00
config.el bindings: add common comment toggle 2019-01-28 23:14:14 -08:00
README.org 💥 Move :private modules to :config 2018-02-14 23:36:27 -05: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 :feature 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+!