In the movie, Thor was the first to see Vision's potential as an ally and Vision proves it to the others by being the only other person to lift his hammer. But it wasn't always like that! In the first draft, Thor wasn't as quick to recognize that fact.

Instead, he tries to beat the shit out of Vision, which you can see in the deleted scene below: