Next: , Up: Misc   [Contents][Index]

5.1 slime-selector

The slime-selector command is for quickly switching to important buffers: the REPL, SLDB, the Lisp source you were just hacking, etc. Once invoked the command prompts for a single letter to specify which buffer it should display. Here are some of the options:


A help buffer listing all slime-selectors’s available buffers.


The REPL buffer for the current SLIME connection.


The most recently activated SLDB buffer for the current connection.


The most recently visited lisp-mode source buffer.


The *slime-scratch* buffer (see slime-scratch).


SLIME connections buffer (see Multiple connections).


Cycle to the next Lisp connection (see Multiple connections).


SLIME threads buffer (see Multiple connections).

slime-selector doesn’t have a key binding by default but we suggest that you assign it a global one. You can bind it to C-c s like this:

(global-set-key "\C-cs" 'slime-selector)

And then you can switch to the REPL from anywhere with C-c s r.

The macro def-slime-selector-method can be used to define new buffers for slime-selector to find.