I quite like the Vi mode of bash. Is there any way to make it work in other programs (gnuplot for instance)?EDIT: As Shawn suggested below, configuring .inputrc and using rlwrap -a -c gnuplot gives Vi mode for gnuplot.
Vi mode in other console programs
terminal;vi
You can use this mode in any program that uses the readline library by adding set editing-mode vi to ~/.inputrc.You can also use rlwrap to make other programs use readline.