Linux DevCenter    
 Published on Linux DevCenter (
 See this if you're having trouble printing code examples

vi Mode for bash on Red Hat

by Stephen Figgins

Over 100 frequently asked questions -- and answers -- on Linux can be found in our FAQ. You can browse, search, or even ask new questions. Topics range from beginner to advanced technical levels.

Adding "set -o vi" to the .bashrc file is supposed to turn on vi-mode in bash whenever you log in, but on Red Hat it shuts down command-line mode completely. Find out why in this selection from our Linux FAQ.

Copyright © 2009 O'Reilly Media, Inc.