Auto append gitignore

Hey, I've added a feature to auto append mappings to the .gitignore file. Can you let me know what you think of it please.

I tried to follow the advice given in #34

Thanks!