Add vi-mode for readline-ralated apps