Update gitignore for vim and OS-generated files.
Improve gitignore for vim edition.
Debug: criteria.resources ignores opts parameters