Vim has this great plugin to convert the current project\'s .gitignore into a syntax understandable by Vim and from there exclude all those files from opening.
.gitignore
Assuming you have Sublime 3 and already installed Package Manager:
sublime-text-gitignore
Have fun:)