Using vim inside irb
vimcasts.org
vimcasts.org
(sounds more dramatic than I mean it, but seriously: this is really going to save me time)
I have earlier tried out other "plugins" to irb (iirc wirble to name one) .. these usually used to slow down loading of irb, and often result in messy outputs. So finally, i use a clean, default irb install. I'll certainly try this out, however. Thanks.
As a temporary solution I have a monkey patch as shown here: http://github.com/jberkel/interactive_editor/issues/2
The "formatting with par" cast was nice too. Nice pleasant voice, too.
"TextMate¶
Currently, TextMate support in IPython is broken. It used to work well, but the code has been moved to IPython.quarantine until it is updated.
vim configuration¶
Currently, vim support in IPython is broken. Like the TextMate code, the vim support code has been moved to IPython.quarantine until it is updated."
I tried vim in ipython, it worked in a very simple test: define a function, :wq and run the function. Was able to get back to the same edit because ipython reports the /tmp file name after the editor returns. Dunno what's broken.
Fallback: you can use ipython, python or anything else as the argument to ScreenShell in vim.
This is the simplest way to get something in vim that resembles Slime. The only other way of doing this I have seen is the Rube Goldberg contraption that (ab)uses Screen, Vim buffers and pipes.