Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I installed dotfiles from a guy on GitHub ( I didn't like some of the customizations, so I tried uninstalling it by running

./ restore 

However... my bash command prompt seems to have turned into vim (or at least vim commands work now and I seem to have insert and command modes). How do I get my normal bash command line back? (I miss being able to do Ctrl+arrow to jump through words).

Probably a totally n00b question, but I'm just a young vim grasshopper at this point...

share|improve this question
up vote 2 down vote accepted

edit: Read the post correctly

edit .bashrc and replace set -o vi on line 169 with set -o emacs. If this does not exist (due to the resotre command you issued) you can either log out and back in or type . ~/.bashrc

share|improve this answer
Thanks Jan! To get the Ctrl+arrow stuff working, I also had to replace the .inputrc file: cp /etc/inputrc ~/.inputrc As mentioned here:… – Max Mar 13 '13 at 22:13

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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