Emacs config utilizing prelude as a base
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
925 B

  1. # Prelude Emacs Lisp
  2. !!! Note
  3. This module builds on top of the shared [Lisp Base](lisp.md) module.
  4. ## Elisp-mode
  5. The module establishes some sensible defaults for `elisp-mode` and
  6. shortens its modeline name to "EL".
  7. It establishes a few extra keybidings (inspired by SLIME):
  8. * `C-c C-z` (`prelude-visit-ielm`)
  9. * `C-c C-c` (`eval-defun`)
  10. * `C-c C-b` (`eval-buffer`)
  11. The module also enables auto-recompilation of Elisp files on save.
  12. ## IELM
  13. IELM is an Elisp REPL bundled with Emacs. Prelude tweaks a bit it's default
  14. configuration to align it with the `elisp-mode` configuration.
  15. ## elisp-slime-nav
  16. The module bundles [elisp-slime-nav](https://github.com/purcell/elisp-slime-nav),
  17. which allows you to jump to definitions with `C-.` (use `C-,` to jump back) and describe a symbol with
  18. `C-c C-d (C-)d`.
  19. ## Minibuffer evaluation
  20. `smartparens-mode` is conditionally enabled for `eval-expression` (`M-:`) command.