Re:EditREPL - Open Vim from within the Python REPL
by bitwize on Monday March 18, 2013 @02:19PM
(#5396102)
Nice. Reminds me of a feature I have in Glass Table[0]:
Define a procedure, macro, or record type called foo:
(define (foo x) ...)
Now say:
,(edit foo)
Your definition appears in the editor of your choice. (Try running GT within Emacs and setting your EDITOR to "emacsclient".) Make changes; provided no errors occurred (like missing parens) the changes take effect when you save and quit.
It's a nice little workflow; if you squint, it almost feels like a CADR...
Define a procedure, macro, or record type called foo:
Now say: Your definition appears in the editor of your choice. (Try running GT within Emacs and setting your EDITOR to "emacsclient".) Make changes; provided no errors occurred (like missing parens) the changes take effect when you save and quit.It's a nice little workflow; if you squint, it almost feels like a CADR...
[0] https://github.com/bitwize/glasstable