Pick of the Week - Nov 10 [Show all picks]
Path Finder 5 - A feature-laden Finder replacement
Submit Hint Search The Forums LinksStatsPollsFAQHeadlinesRSS
12,000 hints and counting!


Click here to return to the 'bash vi mode' hint
The following comments are owned by whomever posted them. This site is not responsible for what they say.
bash vi mode
Authored by: googoo on Fri, Aug 31 2007 at 8:48AM PDT
For those of you who prefer vi, you can set bash to use vi-style editing by adding the following line to your .bashrc file.
set -o vi

Then you delete a word by pressing escape followed by dw. When you are done, enter i to go back to insert mode so you can continue typing your command.

-Mark



[ Reply to This | # ]