So you are playing around with the REPL and want to edit a file without firing up the Emacs beast. Emacs is the notorious wall beginners hit when learning Common Lisp.
No need to tackle all the challenges at once! In SBCL, my implementation of choice, configuring ED is painful.
There are mailing list instructions and this ( i might update at some point with actual URLs. Still painful).
No fear, there is an easier way!
just follow the instructions and install Magic (ed) https://github.com/sanel/magic-ed
Then you can simply edit in the repl with
(ed “your-file-name.lisp”)