Soma - like SLIME for VIM

Posted by Saulius Grigaitis 18/10/2008 at 16h05

One of the most annoying things is to code in IRB if it’s more than couple of lines. Lisp world has SLIME for Lisp interaction mode for Emacs. Is there something like this for Ruby and Vim users? SOMA is very easy way to transfer code from Vim to IRB.

git clone git://github.com/ichverstehe/soma.git
cd soma
gem build soma.gemspec
sudo gem install soma-0.0.1.gem

add to ~/.irbrc

require 'rubygems'
require 'soma'
Soma.start

Then open terminal and run IRB. Then run Vim in other terminal, write some code and transfer code using “Ctrl – c” “Ctrl – c”.
Here is video and here is alternative way.

no comments | no trackbacks

Comments

Trackbacks

Use the following link to trackback from your own site:
http://www.rubyonrails.lt/trackbacks?article_id=38

(leave url/email »)

reCaptcha

   Comment Markup Help Preview comment