change the default editor

Go into your ~/.bashrc and then add the environment variable export EDITOR=vim, then run source ~/.bashrc


edit this page