Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I installed dotfiles from a guy on GitHub (https://github.com/sontek/dotfiles). I didn't like some of the customizations, so I tried uninstalling it by running

./install.sh 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

1 Answer 1

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: stackoverflow.com/questions/5029118/… –  Max Mar 13 '13 at 22:13

Your Answer

 
discard

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.