If I have managed to successfully extract the essence of your question
from your message, it basically comes down to "How do I run interactive
programs (e.g. an SBCL REPL) within a Vim buffer?".
The short answer is that you can't. Unlike Emacs, which is basically a
Lisp-driven terminal application platform that prominently features a
text editor, Vim is *just* a text editor and doesn't purport to do
anything beyond text editing. Vim can run other programs, via the :shell
and :! commands, etc., but running them *interactively* and displaying
their interfaces within a buffer is not supported. Vim's philosophical
perspective on this point is essentially that text editors are for
editing text, and terminal emulators are for running terminal
applications.
As for why Vim is not working within screen, I can't really answer that.
I've used Vim inside of screen sessions many times and haven't seen that
issue. You may want to check that the TERM environment variable is
properly set within screen (its value should just be "screen") and that
your system has the appopriate terminfo/termcap databases for the screen
terminal.
Monday, November 5, 2012
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment