From: Michael Neumann Date: 2001-12-01T21:01:38+09:00 Subject: [ruby-talk:27182] Re: which editor is adviceful? Niko Schwarz wrote: > Markus Jais wrote: > > > you could use gvim, which is a graphical version of vim > > ckeck out http://www.vim.org > > looks interesting, do you know how to run the ruby from inside gvim? Do you think of running Ruby source code you edit or how to extend vim with Ruby? 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() For the second, try the --with-ruby (or similar) option. Regards, Michael -- Michael Neumann merlin.zwo InfoDesign GmbH http://www.merlin-zwo.de