I am a tabs kind of guy, I do not like when my code contains leading whitespaces instead of leading tabs. I often exchange codes with colleagues and I first have to convert the leading whitespaces to tabs manually before doing anything else.
Is there a way to search for whitespaces but not tabs in vim? My end goal is to write a script that will convert leading whitespaces to tabs automatically, but an answer to the above question will put me in the right track.