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.
rlwrap -a -c gnuplot
You can use this mode in any program that uses the readline library by adding set editing-mode vi to ~/.inputrc.
set editing-mode vi
You can also use rlwrap to make other programs use readline.
Sign up for our newsletter and get our top new questions delivered to your inbox (see an example).
Vimperator is a good plugin for Firefox. The Chrome equivalent is called vrome.
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
3 years ago