Skip to content

Instantly share code, notes, and snippets.

@vindarel
Forked from Goheeca/init.slime
Last active August 29, 2022 15:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vindarel/b414240fcf498d6550e6dc0e6fb63ff6 to your computer and use it in GitHub Desktop.
Save vindarel/b414240fcf498d6550e6dc0e6fb63ff6 to your computer and use it in GitHub Desktop.
Full screen terminal Slime REPL for Common Lisp (one-liner)
;; (ql:quickload "str")
#!/bin/sh
# INIT_FILE=${1:-init.slime}
# one-liner to start Emacs with a full-window Slime REPL.
# See the parent gist for a use of init.slime
emacs -nw \
--eval "(defun hack-session-init () (delete-other-windows))" \
--eval "(add-hook 'slime-connected-hook 'hack-session-init)" \
--eval "(menu-bar-mode -1)" \
--eval "(setq-default mode-line-format nil)" \
--eval "(slime)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment