This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/contrib/lang/emacs-lisp
Tu Do fe51de1637 Fix key binding for Elisp format sexp
It should be "mfs" to better synergize with srefactor-lisp-format-sexp.
2015-05-09 12:02:53 -04:00
..
img Actually add the emacs-lisp folder :-) 2015-05-07 00:31:13 -04:00
config.el Actually add the emacs-lisp folder :-) 2015-05-07 00:31:13 -04:00
extensions.el Actually add the emacs-lisp folder :-) 2015-05-07 00:31:13 -04:00
packages.el Fix key binding for Elisp format sexp 2015-05-09 12:02:53 -04:00
README.md Actually add the emacs-lisp folder :-) 2015-05-07 00:31:13 -04:00

Emacs Lisp contribution layer for Spacemacs

logo

Table of Contents

Description

This layer gathers all the configuration related to emacs-lisp. This should always be in your dotfile, it is not recommended to uninstall it.

Install

To use this contribution add it to your ~/.spacemacs

(setq-default dotspacemacs-configuration-layers '(emacs-lisp))

Key bindings

Key Binding Description
SPC m g g go to definition of symbol under point
SPC m h h describe symbol at point
SPC m e $ or SPC m e l go to end of current line and evaluate
SPC m e b evaluate current buffer
SPC m e c evaluate current form (start with defun, setq, etc...)
SPC m e e evaluate sexp before point
SPC m e r evaluate current region
SPC m e f evaluation current function
SPC m , toggle lisp state
SPC m t b run tests of current buffer
SPC m t q run ert

srefactor

The semantic layer should be installed for these key bindings to become active.

Key Binding Description
SPC m = b format current buffer
SPC m = f format current function
SPC m = r format current sexp
SPC m = o format all on one line