- Set filetype to unix by default. - Use the filetype plugin to have per-filetype configuration. - Use 2 spaces for YAML and Terraform files. - Move Python configuration from .vimrc to filetype plugin.