Vim like ruby interpreter?

Thank you for the quick response but…
How do I build irb with readline? ./configure --with-readline??

···

-----Original Message-----
From: Gennady F. Bystritsky [mailto:gfb@tonesoft.com]
Sent: Thursday, December 05, 2002 9:23 AM
To: ruby-talk@ruby-lang.org
Subject: Re: Vim like ruby interpreter?

Compile irb with readline, create file ~/.inputrc and put
set editing-mode vi
Then set envar INPUTRC=~/.inputrc
Enjoy “irb --readline”

----- Original Message -----
From: “Garriss, Michael” Michael.Garriss@abacus-direct.com
To: “ruby-talk ML” ruby-talk@ruby-lang.org; vim@vim.org
Sent: Thursday, December 05, 2002 7:50 AM
Subject: Vim like ruby interpreter?

being a vimmer and a newbie to ruby I have come across the need for the
following. I ‘irb’ like creation with vim editing (maybe like bash’s
set -o
vi). Hints? Leads? Links?

TIA


/| |

Michael Garriss |
Software Engineer |
Contractor |
mgarriss@softhome.net |
_|
/
/

I think this may be the default. I’m pretty sure I’ve never done any editing
of the configuration at all when building/installing ruby.

Just making the other changes (ie, the “set editing-mode vi” and setting the
INPUTRC environment variable) was enough for me to get it working.

So, I’d try making the other two changes first. You may find you don’t need
to rebuild anything.

H.

···

On Fri, 6 Dec 2002 03:42, Garriss, Michael wrote:

Thank you for the quick response but…
How do I build irb with readline? ./configure --with-readline??