Add *.swp to .gitignore. Set autcrlf.