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/layers/+lang/extempore
2021-03-25 22:59:32 -04:00
..
funcs.el Apply GPLv3 terms explicitly to all elisp files 2021-03-25 22:59:32 -04:00
packages.el Apply GPLv3 terms explicitly to all elisp files 2021-03-25 22:59:32 -04:00
README.org documentation formatting: Mon May 18 22:06:40 UTC 2020 2020-05-20 22:24:46 +02:00

Extempore layer

Description

This layer adds support for the Extempore programming environment.

Features:

  • run Extempore (inferior extempore buffer)
  • connect to & evaluate code
  • eldoc support

Install

To use this configuration layer, add it to your ~/.spacemacs. You will need to add extempore to the existing dotspacemacs-configuration-layers list in this file.

Configuration

The only configuration variable you might want to set out-of-the-box is extempore-path, so that you don't have to answer the "which directory?" prompt every time you call switch-to-extempore. You can set it when you add extempore to your dotspacemacs-configuration-layers like so:

  (extempore :variables extempore-path "/path/to/extempore/")

Alternately, you could set it elsewhere in your init file, or through the customize interface.

There are a few other config variables to tweak, but in most cases the defaults will be ok if you're just starting out. If you want to see them all, open up M-x customize and look in the extempore group.

Key bindings

Key binding Description
SPC m c c Switch to Extempore
SPC m c j Connect to Extempore
SPC m e f Eval current definition
SPC m e e Eval last sexp
SPC m e r Eval region
SPC m e b Eval buffer