Use smartindent

:help smartindent
Improve paste option
Add motion map
Save buffer view