make git use vim like editor commit code example Example: set git editor to vim git config --global core.editor "vim"