I want to have some specific snippets for each file that I am editing. Like, I want to type "ppp" just for "proper point groups", or "iff" for "if and only if".
To be more specific, I want an additional unique set of snippets for each file I am editing. For example, when I write about group theory, I will want things like above to be shorthanded. But when I write about geometry, I will want "hom" stands for "\operatorname{\mathcal{Hom}}", etc.
So far I succeeded to add a absolute path to UltiSnips search directory, like the following in my VIMRC:
let g:UltiSnipsSnippetDirectories=['UltiSnips','C:\Users\xxx\Drafts\UltiSnips']
I tried to add an relative path like
let g:UltiSnipsSnippetDirectories=['UltiSnips','.\UltiSnips']
But UltiSnips just ignores it. Any ideas?
Or, can I add a modeline to get the current directory, and then set the variable g:UltiSnipsSnippetDirectories
?
FYI.: I am on windows 10.