Bind a key in the slime-repl-mode-map
. Try this:
(defun my/slime-switch-to-recent-lisp-buffer ()
(interactive)
(switch-to-buffer (slime-recently-visited-buffer 'lisp-mode)))
(define-key slime-repl-mode-map (kbd "C-c C-z") 'my/slime-switch-to-recent-lisp-buffer)
thanks for the heads up, I'll def try it. So far I bound C-c C-z to 'other-window… simple.