Syntax highlighting in IRB || Script/Console

29 views
Skip to first unread message

Edmond Kachale

unread,
Aug 27, 2010, 4:44:48 AM8/27/10
to rubyonrails-talk
Railers,

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 && script/console terminal input, i.e. I'm looking forward to having something like "vim_animated-irb".

This might not be a Rails question but some railers may have answers to it.

Viva RoR,

---
Edmond
Software Developer | Baobab Health Trust (http://www.baobabhealth.org/) | Malawi

Cell:  +265 999 465 137 | +265 881 234 717

"Many people doubt open source software and probably don’t realize that there is an alternative… which is just as good.." -- Kevin Scannell

Reply all
Reply to author
Forward
0 new messages