adds cmake, tex and global snippets