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...


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

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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