Explicitly set $EDITOR to vim