Change paste to paste and indent in sublime text 2/3:
Go to Sublime’s menu -> preferences -> ‘Key Bindings’ -> edit the user preference file to add the below:
[ { "keys": ["ctrl+shift+v"], "command": "paste" }, { "keys": ["ctrl+v"], "command": "paste_and_indent" } ]
This will turn ctrl+v to paste and indent instead of the default paste.