Excluding files from completion in VIM

Ever since working with LaTeX again for university, Iโ€™ve had one pain point in my setup: The autocompletion for opening files listed also all those files that I normally donโ€™t want to open in VIM anyway like PDFs and .aux-files.

Today I looked a bit around and learnt a way to hide those:

set wildignore+=*.pdf,*.aux,*.run.xml,*.blg,*.bcf,*.bbl

Stack Exchange for the win ๐Ÿ˜…