doomemacs/modules/config/default
Henrik Lissner a9bf0b8985
Add cmd!, cmd!!, cmds! convenience macros
It's kind of silly that our command lambda macros (λ! and λ!!) need a
snippet, special key sequence or copy-paste to insert, so in the spirit
of fn! -- and to make sure they take up less space than `lambda!` --
I've added `cmd!` and `cmd!!` aliases. `lambda!` and `lambda!!` are now
deprecated. λ! and λ!! will remain.

I've also added `cmds!` as a convenience wrapper around
general-predicate-dispatch.
2020-05-27 18:29:35 -04:00
..
autoload Fix switch-project completion defaulting to current project 2020-05-26 14:06:19 -04:00
+emacs-bindings.el Add cmd!, cmd!!, cmds! convenience macros 2020-05-27 18:29:35 -04:00
+emacs.el def-advice!->defadvice! & conform to new advice conventions 2019-07-23 17:24:56 +02:00
+evil-bindings.el Add cmd!, cmd!!, cmds! convenience macros 2020-05-27 18:29:35 -04:00
+evil.el General refactor & cleanup, across the board 2019-09-13 22:00:34 -04:00
config.el doom/toggle-debug-mode -> doom-debug-mode 2020-05-25 20:18:36 -04:00
packages.el Bump :config 2020-04-30 01:30:19 -04: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+!