Sublime Text plugin for Extempore
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 35 commits ahead, 2 commits behind mlozanov:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
snippets add snippets Dec 3, 2013
.gitignore Added the standard, comment toggle command. Mar 8, 2014
Default.sublime-keymap remove bad default keybindings Dec 16, 2014
Extempore.JSON-tmLanguage Adding highlighting text on evaluate. Aug 17, 2014 Adding highlighting text on evaluate. Aug 17, 2014
Extempore.sublime-completions Adding highlighting text on evaluate. Aug 17, 2014
ExtemporeComments.tmPreferences Added the standard, comment toggle command. Mar 8, 2014
Main.sublime-menu moving extempore menu to bottom of tools menu Nov 18, 2013 update readme for keybindings change Dec 16, 2014


A Sublime Text 2 and 3 plugin for Extempore. The plugin provides syntax highlighting, as well as some commands and keybindings for connecting to and working with a running Extempore process.


To install the plugin, simply download or clone this repo into your Sublime Text packages directory.

Installation instructions for Extempore can be found at Extempore's github page.

Working with Extempore in ST

The plugin provides three commands:

  • extempore_connect will connect to a running (local) Extempore process on the default port. You have to start this Extempore process yourself, generally in another terminal.

  • extempore_disconnect does what it says on the tin.

  • extempore_evaluate will evaluate either the currently highlighted region (if applicable) or the current top-level def surrounding the cursor. This is how you send code to the Extempore process for evaluation.

You can trigger the commands either through the menu (Tools > Extempore), or the command palette (ctrl+shift+P) or through the shortcut keys. The default keybindings are the same as the Extempore Emacs mode, but you can change them to whatever you like.


If you want to set up your own keybindings for e.g. extempore_evaluate, then you can do that in Default.sublime-keymap.

Known Issues

The syntax highlighting currently doesn't cover a few edge cases---so if you end up tinkering with Extempore.JSON-tmLanguage to fix anything then feel free to submit a patch.