Set tab width in VIM to 4 spaces or a single tab

Vim by default adds two tabs when you indent something. It also messes up the whole thing if you paste a large code block with tabs into it.
Here's how you can set the tabs to 4 space width, and fix that messing up issue.
Edit your vim config file and add this at the...