### 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. If a prefix argument is specified then the buffer is shown in the other window. Here are some of the main options:

`?`

  A help buffer listing all `slime-selectors`’s available buffers. This includes some options of lesser importance, e.g. intended for debugging SLIME, which are not included in this list.

`r`

  The REPL buffer for the current SLIME connection.

`d`

  The most recently activated SLDB buffer for the current connection.

`l`

  The most recently visited `lisp-mode` source buffer.

`s`

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

`c`

  SLIME connections buffer (see Multiple connections).

`n`

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

`t`

  SLIME threads buffer (see Multiple connections).

`i`

  The `*inferior-lisp*` buffer for the current connection.

`4`

  Show buffer in other window. Equivalent to supplying a prefix argument. Prompts again for which buffer to select.

`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.