doomemacs/modules/config/default
James Ravn c56afcfe01
Add lsp-command-map to SPC-c-l
The default lsp-mode bindings are bound to `s-l` which is impractical
for anyone using keybindings in their window manager. It also conflicts
w/ the doom approach of using leader keys. This change makes
all the default lsp bindings (see
https://github.com/emacs-lsp/lsp-mode#commands) available on SPC-c-l.

So for example, restarting the lsp server can be done with `SPC c l s r`.
2020-04-21 22:22:14 +01:00
..
autoload Minor refactor & reformatting across the board 2020-04-08 15:30:10 -04:00
+emacs-bindings.el Add lsp-command-map to SPC-c-l 2020-04-21 22:22:14 +01:00
+emacs.el def-advice!->defadvice! & conform to new advice conventions 2019-07-23 17:24:56 +02:00
+evil-bindings.el Add lsp-command-map to SPC-c-l 2020-04-21 22:22:14 +01:00
+evil.el General refactor & cleanup, across the board 2019-09-13 22:00:34 -04:00
config.el Only bind C-s in minibuffer if ivy/helm are available 2020-03-28 20:08:53 -04:00
packages.el Bump :config default 2020-03-27 18:12:27 -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+!