Vi input for readline20 Feb 2012

Just realized that it is possible to set vi input mode for all readline compatible programs through a simple:

    set editing-mode vi
    set keymap vi-insert

in my ~/.inputrc.

After all it is quite logical but I was wrongly thinking that it was a zsh only feature since zsh has it own implementation of line editor (zle).