Datacentre Support Reference Guides

Visit our online shop for ALL your parts, components, laptops, electronics and gadgets
 

Linux: Command line editing - vi mode

 

 
 

After installing Redhat Linux, I found that I couldn't get the vi mode command line editing feature to work correctly. Dave Brown, from Austin Tx, told me that Redhat installed a "feature" in the Microsoft tradition.

In order to configure the vi mode command line editing, follow the steps in the appropriate man pages, then:

# rm /etc/inputrc

Apparently, that file, if it exists, breaks the vi mode command line editing.