Syntax highlighting in IRB || Script/Console


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,