doomemacs/modules/config/default
Henrik Lissner 60b595321e Lazy-load yasnippet harder for faster first-file load time
+ Rather than waiting for the first "interactive" major mode to be
  visited to activate yas-minor-mode, we wait until the first time the
  user invokes a snippet command to activate yas-global-mode.
+ yas-reload-all is one of the bottlenecks when loading a file for the
  first time. Deferring it further should help with this.
+ yas-global-mode reaches more major modes than our former list of
  hooks (fixes #5140).

Closes #5140
2021-06-05 13:12:00 -04:00
..
autoload Simplify (% current-column tab-width) code 2021-05-13 10:50:44 +02:00
+emacs-bindings.el unicode-chars-list-chars -> insert-char 2021-05-13 17:04:16 +03:00
+emacs.el Fix #4430: wrong-num-of-args error on expand-region 2020-12-14 15:14:20 -05:00
+evil-bindings.el Lazy-load yasnippet harder for faster first-file load time 2021-06-05 13:12:00 -04:00
+evil.el General refactor & cleanup, across the board 2019-09-13 22:00:34 -04:00
config.el Fix #4559: wrong-type-arg error on RET in some comments 2021-04-18 13:07:18 -04:00
packages.el Bump * 2021-03-27 18:27:02 -04:00
README.org Move +default/{find-in,browse}-emacsd to core lib 2020-11-19 00:44:16 -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

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