doomemacs/modules/config/default
Henrik Lissner 69f8f5b242 feat(default): narrow to multi-line region in +default/search-buffer
Since multi-line inputs are useless to consult-line and swiper, I've
changed +default/search-buffer to be more DWIM (do-what-I-mean). i.e. if
a selection is active when invoking it, and...

- The selection is multi-line: restrict the search to that region.
- The selection is *not* multi-line: use the selection as the initial
  input.
- Otherwise, search the whole buffer as normal.
2021-09-15 01:22:33 +02:00
..
autoload feat(default): narrow to multi-line region in +default/search-buffer 2021-09-15 01:22:33 +02:00
+emacs-bindings.el feat(lsp,vertico): add consult-eglot 2021-09-15 01:03:11 +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 refactor!(vertico): evil minibuffer keybindings 2021-09-15 01:41:37 +03:00
+evil.el General refactor & cleanup, across the board 2019-09-13 22:00:34 -04:00
config.el fix(default): don't override S-RET/C-j in occur buffers 2021-08-16 17:16:30 -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+!