• 6 Posts
  • 18 Comments
Joined 1 year ago
cake
Cake day: October 7th, 2023

help-circle















  • dzecniv@alien.topBtoLispRevisiting stupid slime tricks
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    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.