doomemacs/modules/config/default
Henrik Lissner d1ab86c38c
Revise project & general find-file keybinds
Changes
- SPC f . -> Browse files from here
- SPC f / -> Find file from here (recursive)

Moves
- SPC f > -> SPC p > (Find file in another project)
- SPC f ? -> SPC p ? (Browse files in another project w/ find-file)
2019-04-19 20:53:22 -04:00
..
autoload Fix #1320: generalize SPC * 2019-04-10 20:14:50 -04:00
+emacs-bindings.el Remove references to old scratch buffer functions 2019-04-19 20:50:53 -04:00
+emacs.el config/default: split into evil/emacs files 2019-03-09 03:43:14 -05:00
+evil-bindings.el Revise project & general find-file keybinds 2019-04-19 20:53:22 -04:00
+evil.el Apply smartparens config to all users 2019-04-03 19:15:02 -04:00
config.el Unbind C-h in help-map 2019-04-12 16:13:51 -04:00
packages.el config/default: split into evil/emacs files 2019-03-09 03:43:14 -05: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+!