Syntax highlighting in IRB

I would like to know if there is a way of changing colors for IRB
standard input ($stdin). What I am interested in “is having IRB
highlighting syntax as I type”. Among other stuff, I would like to be
able to:

* set its background colours
* have differing colours for strings, variables, keywords, e.t.c.

I do use Wirble and Term-ansicolor gems, and they are fine when it comes
to output. But, I am interested in colouring irb terminal input, i.e.
I’m looking forward to having something like “vim_animated-irb”.

Ceekays

Hi,

On Wed, Sep 1, 2010 at 7:14 AM, Edmond K. [email protected]
wrote:

I’m looking forward to having something like “vim_animated-irb”.

Ceekays

Posted via http://www.ruby-forum.com/.

IIRC Utility Belt may have what you’re looking for…
http://utilitybelt.rubyforge.org/

Regards,
Bob

Bob N. wrote:

Hi,

On Wed, Sep 1, 2010 at 7:14 AM, Edmond K. [email protected]
wrote:

I’m looking forward to having something like “vim_animated-irb”.

Ceekays

Posted via http://www.ruby-forum.com/.

IIRC Utility Belt may have what you’re looking for…
http://utilitybelt.rubyforge.org/

Thanks Bob for your reply, but I have ever tried Utility Belt. It’s a
cool gem, but it just does the same stuff as Wirble and Term-ansicolor.
I am interested in colouring irb terminal input, not necessarily the
terminal output.

Regards,
Bob

On Wed, Sep 1, 2010 at 2:14 PM, Edmond K. wrote:

I am interested in colouring irb terminal input, i.e.
I’m looking forward to having something like “vim_animated-irb”.

How about running Vim within IRB1? Perhaps it is not “having IRB
highlighting syntax as [you] type” in a direct way, but it’s as close
as it gets.