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/slime
2015-07-04 19:37:59 -04:00
..
img create slime contribution layer 2015-03-08 23:15:01 -04:00
extensions.el Replace defvar with setq for pre and post extensions variables 2015-04-18 23:57:27 -04:00
packages.el slime layer: update key bindings and populate README 2015-06-21 23:46:36 -04:00
README.org slime layer: minor typo fix 2015-07-04 19:37:59 -04:00

SLIME contribution layer for Spacemacs

/TakeV/spacemacs/media/commit/6e549cbe2a1de8206f726ac538e7da58991ea92f/contrib/slime/img/slime.png

Description

A Spacemacs contribution layer for SLIME.

Install

If you have previously installed slime in any other way, it is recommended that you uninstall it before proceeding. You should clean up any config files tied to slime that are left behind as well. Linux users can just purge the slime package if it was a distribution install.

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

  (setq-default dotspacemacs-configuration-layers '(slime))

This layer defaults to using sbcl. If you wan to use a different implementation of Common Lisp, you can specify it in your ~/.spacemacs

  (defun dotspacemacs/config ()
    (setq inferior-lisp-program "/path/to/your/lisp"))

Key Bindings

Help

Key Binding Description
SPC m h a SLIME apropos
SPC m h d Disassemble symbol
SPC m h h Describe function
SPC m h H Hyperspec lookup

Evaluation

Key Binding Description
SPC m e b Evaluate buffer
SPC m e f Evaluate top level s-expression
SPC m e e Evaluate last expression
SPC m e r Evaluate region

REPL

Key Binding Description
SPC m s i Start an inferior process
SPC m s e Evaluate last expression in REPL
SPC m s q Quit

Compile

Key Binding Description
SPC m c c Compile file
SPC m c C Compile file and load it
SPC m c f Compile function
SPC m c r Compile region

Navigation

Key Binding Description
SPC m g g Inspect definition
SPC m g n Next note
SPC m g N or ~SPC m g p Previous note