Tip: Vim and python indentation

Usually I prefer tabs indentation rather than space indentation for python code. Unfortunately often python code from open source projects or code that you can find on the net use space indentation. To convert from one to the other you can simply use a vim substitution.
Example:

:%s/ /\t/g

It’s as simple as this […]