Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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.

share|improve this question
add comment

2 Answers

up vote 8 down vote accepted

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.

share|improve this answer
1  
Also works with bash. This is my default editing mode in bash. –  Arcege Oct 17 '11 at 1:51
add comment

Vimperator is a good plugin for Firefox. The Chrome equivalent is called vrome.

share|improve this answer
1  
Also worth checking out: Pentadactyl (Firefox) and Vimium (Chrome). –  Shawn J. Goff Oct 17 '11 at 13:22
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.