doomemacs/modules/config/default
Henrik Lissner 114be4af57
Don't use c-toggle-{electric-state,auto-newline} globally
Fixes an odd error where:

1. You open an elixir-mode buffer
2. elixir-mode sets `mode-name` to a non-string value
3. cc-mode is pulled in by one of its dependencies
4. `c-toggle-electric-state` is called from the config/default module
5. Which calls `c-update-modeline`
6. Which operates on `mode-name` and assumes it is a string
7. And a wrong-type-argument: stringp error is thrown
2020-02-16 02:26:38 -05:00
..
autoload Wait a second before restarting server 2020-02-11 03:21:44 -05:00
+emacs-bindings.el bindings: default emacs up to the state of the art 2020-01-02 18:32:20 +01:00
+emacs.el def-advice!->defadvice! & conform to new advice conventions 2019-07-23 17:24:56 +02:00
+evil-bindings.el Fix reference to removed command 2020-02-11 03:47:15 -05:00
+evil.el General refactor & cleanup, across the board 2019-09-13 22:00:34 -04:00
config.el Don't use c-toggle-{electric-state,auto-newline} globally 2020-02-16 02:26:38 -05:00
packages.el Fix #2373: bring back package pinning 2020-01-25 19:02:00 -05:00
README.org Move emacs-snippets -> doom-snippets 2019-07-14 17:05:48 +02: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

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