git
My git default commit editor is nano. But I familiar with vi. So how to change that? git config --global core.editor "vi".
git config --global core.editor "vi"
You can change back to nano via git config --global core.editor "nano".
git config --global core.editor "nano"
/www /www