Remove editor tmp file and add it to gitignore