spacemacs/contrib/slime/README.org
2015-06-11 21:31:42 -04:00

1.8 KiB

SLIME contribution layer for Spacemacs

/TakeV/spacemacs/media/commit/460ce540063bebed729887c4db3dc734161e8885/contrib/slime/img/slime.png

Table of Contents   TOC@4

Description

A Spacemacs contribution layer for SLIME.

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

This layer doesn't yet include Spacemacsy keybindings. The following is a list of some of SLIME's default keybindings.

Key Binding Description
C-c Prefix Command
C-c C-k Compile and load the current buffer's file.
C-c C-c Compile the top-level form at point.
C-c C-d C-d Describe symbol.
C-c C-d C-a Apropos search.
M-n slime-repl-next-input
M-p slime-repl-previous-input
C-M-x lisp-eval-defun
C-h m check emacs mode help for all of SLIME's keybindings

Future Work

  • Add proper Spacemacs keybindings