add .gitignore, remove a swp file