2

I use vi mode in zsh, tmux and my favorite text editor (vim obviously). I'm interested to have this behavior in the whole system. I know I can use plugins in firefox, thunderbird, etc. but if there is an option to do it everywhere may be interesting.

  • Unlikely. Each application is written separately, often by different developers. Applying "vi" mode to that application is purely down to the developers of each app (and not something I'd see all developers doing...) – Drav Sloan Aug 4 '15 at 11:55
4

As far as I know Drav Sloan is correct: there is no universal "vi" mode setting.

You can ease the pain for a lot of more modern command line programs by having a file named $HOME/.inputrc with this line in it:

set editing-mode vi

A lot of programs use readline, gnuplot, psql, impala-shell and others. This may get you most of way to where you want to be.

  • It works with irb and pry. Not the perfect solution but I think it can't be better. May be a solution can be done at desktop manager level... – Dougui Aug 5 '15 at 0:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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