I have been using the plugin called Ultisnips and it is great.
But I am looking for the following feature.
Suppose I have two files
geography.tex which I edit regularly.
I want to have snippets for each of them but I want them to be independent of each other. What I mean by this is that if I am working on
history.tex, a snippet named
samplesnip serves some purpose while when I am working on
geography.tex the snippet named
samplesnip serves a completely different purpose.
Right now what I have is a file named
tex.snippets where all my snippets for tex files go. So I do not have the kind of flexibility that I want.