Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'bash vi mode' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
bash vi mode
Authored by: googoo on Aug 31, '07 08:48:01AM
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 | # ]