git set default editor + list of editors code example Example: set git editor $ git config --global core.editor vim