Skip to content

Can I add per-project snippets? #93

Answered by dcampos
gsinclair asked this question in Q&A
Discussion options

You must be logged in to vote

There was no easy way to do that. I've just pushed a commit that allows putting project-specific snippets in a local directory, by default called .snippets. The local directory's relative path can be configured, and it can even be an absolute path. Check the docs for how to configure it.

Or, I could cut out the middleman and just define some snippets in local-vimrc.vim directly, if I knew how.

I can't think of a way to achieve that currently, but it sure would be a nice feature to be added.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dcampos
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants