Implement rudimentary error checking
Ignore vim swp files