# Vim and [language] Interpreter

I've seen emac's lisp mode, and I'll admit it made me somewhat jealous since it wasn't as easy (and at first glance seemed impossible) to do in vim. But I've learned a few more neat tools, and now combining vim with a bunch of other *nix utils results in an awesome split-screen window with vim and any language interpreter you like. This is one reason I like vim: it doesn't try to be everything. You use other tools to enhance it, sure, but it doesn't include them by default.

What you'll need (you should be able to get these from your Linux distro's package manager):

vim (compiled with xterm support, Gentoo USE flag is vim-with-x)
screen
xsel

For additional information, I'm using gnome-terminal, with the following versions of the above software:

kevin@jachoo ~ $screen -v Screen version 4.00.03 (FAU) 23-Oct-06 kevin@jachoo ~$ xsel --version
kevin@jachoo ~ $vim --version VIM - Vi IMproved 7.2 (2008 Aug 9, compiled Sep 5 2009 21:45:59) So now let's run the commands. Open up a shell, and run the following sequence. $ screen