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

help-circle















  • dzecniv@alien.topBtoLispRevisiting stupid slime tricks
    link
    fedilink
    English
    arrow-up
    1
    ·
    11 months 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.