skeletons.vim icon indicating copy to clipboard operation
skeletons.vim copied to clipboard

Idea: Different snippets based on file name semantics

Open beberlei opened this issue 12 years ago • 1 comments

The snippet picker could pick different snippet files for each language based on a file pattern. For example if i am using some sort of project structure then i might know much more special skeletons already.

beberlei avatar Jan 26 '13 23:01 beberlei

I hope the original author doesn't mind, but I've actually made a new project based on this one that has a lot of improvements (such as multiple skeleton dirs and lazy loading), that actually implements your idea about different skeleton types.

For example if you have skeleton.angular.js and skeleton.node.js then it's going to ask you which skeleton you'd like to use.

It's pretty new, and the documentation needs improvement, but it works. https://github.com/pgilad/vim-skeletons

pgilad avatar May 31 '14 13:05 pgilad