add function to vim to ignore files similar to what is ignored in .gitignore