# Exclude all files * # Include relevant files !/.vim/ !/.vim/**/* !/.vimrc !/.gitignore.d/ !/.gitignore.d/vim # Exclude swap and backup files *.s[a-w]? #*.vim *~ #*.orig