emacs has the fabulous SLIME mode which
turns emacs into a LISPmachine, with interactive inspection and whatnot. It talks over TCP to
a LISP REPL wrapped in
SWANK, executing a huge palette of commands to debug and trace code,
as well as the more-or-less trivial evaluation of code snippet from
As a very weak approximation in
vim there's jpalardy's vim-slime which uses
screen to paste
vim into a
screen window presumably running a REPL. The implementation
If the action is just to paste stuff into another window using
option then it should be doable with a shellscript. So here are
Combined with good-old
- starts the Chicken Scheme REPL and
injects the window's identifier into
- pastes its
stdin into the REPL window.
map keybinding command
this is just as powerful as
vim-slime but more flexible.
.exrc now contains the line
:map C !%slim^M
which pastes text between matching parens into the REPL.
slim now uses
s so that the copy/paste
register remains untouched.