Event handler for ctrl-v, and .gitignore