From: Rik Hemsley Date: 2001-12-02T05:46:48+09:00 Subject: [ruby-talk:27221] Re: which editor is adviceful? #if Michael Neumann > For the first, put something like shown below into your .vimrc file: > > function ExecRuby() > w! /tmp/ruby_input > !ruby /tmp/ruby_input > /tmp/ruby_output 2>&1 > 10 sp /tmp/ruby_output > set nonumber > wincmd w > endfunction > > map :call ExecRuby() Nice, thanks :) Rik