doomemacs/modules/config/default
Henrik Lissner 7ca50e0ce8
feat(default): bind 'SPC b y' to yank whole buffer
Evil may not always be available in all buffers, and in line with the
filepath yank commands on SPC f y/Y, I thought this command could be
useful. However, I omitted a "replace buffer with paste" command because
in any editing context, evil should be available, in which case it'd be
redundant with `vigp` (or yig for yanking the buffer).

Close: #5281
Co-authored-by: Alex Palaistras <deuill@users.noreply.github.com>
2022-06-21 18:46:25 +02:00
..
autoload feat(default): bind 'SPC b y' to yank whole buffer 2022-06-21 18:46:25 +02:00
+emacs-bindings.el feat(macos): add 'open in new iTerm window' command 2022-06-21 18:46:25 +02:00
+emacs.el Fix #4430: wrong-num-of-args error on expand-region 2020-12-14 15:14:20 -05:00
+evil-bindings.el feat(default): bind 'SPC b y' to yank whole buffer 2022-06-21 18:46:25 +02:00
+evil.el General refactor & cleanup, across the board 2019-09-13 22:00:34 -04:00
config.el refactor(default,python): move smartparens config 2022-04-01 19:12:35 +02:00
packages.el bump: :config default 2022-02-02 01:58:55 +01: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+!