how to change default git editor to vim code example Example: set git editor to vim git config --global core.editor "vim"