spacemacs/layers/+lang/emacs-lisp
justbur 776c4f0a97 emacs-lisp: Add eval funcs and fix leader bindings
Functions for evaluating the form (not an atom) that the point is
currently in, and for evaluating the symbol underneath the point. Both
require smartparens to work.

Also, add all evil-leader bindings to lisp-interaction-mode and declare
prefixes.
2015-09-27 22:15:31 -04:00
..
img Use + instead of ! for layer categories 2015-09-11 00:13:51 -04:00
config.el Use + instead of ! for layer categories 2015-09-11 00:13:51 -04:00
packages.el emacs-lisp: Add eval funcs and fix leader bindings 2015-09-27 22:15:31 -04:00
README.org Use + instead of ! for layer categories 2015-09-11 00:13:51 -04:00

Emacs Lisp contribution layer for Spacemacs

/TakeV/spacemacs/media/commit/e22b2eadd0fe0a313dfe9d27cd08e2e8d5021f3e/layers/+lang/emacs-lisp/img/emacs-lisp.png

Table of Contents   TOC@4

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
SPC m d m open macrostep micro-state

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 = o format all on one line
SPC m = s format current sexp