|
|
Some times you find the snippets comes along with yasnippet is too few. You can always write your own snippets. However, you might first want to check out some user contributed snippets.
yasnippet might incorporate user contributed snippets in the standard release package. But in some situation this is not a good way. For example:
- There might be too many snippets for the mode. Include all of them in the release package makes the file much bigger while someone might not need snippets for that mode.
- ome snippets are automatically generated and maintained by other people. It might gets updated instantly.
So please tell me your link. I'll try to keep a list of them:
Andrew Gwozdziewycz's snippets for PHP standard library
Available from the mercurial repository. And also the tar-ball snapshot.
CodeRepos
CodeRepos is a shared repository into which anyone can commit anything related to programming. antipop is calling for people who read this blog to share their snippets in it. You can check them out at here. I think CodeRepos is mainly for Japanese. However, the snippets are written in English. :D
Textmate
YASnippet's snippet syntax is similar to Textmate's. There are some differences, e.g. Textmate use `foo` to execute a shell command foo, while YASnippet use this syntax to evaluate a piece of elisp code. However, some of them do work fine.
Jeff Wheeler wrote a python script (see this thread) to download and convert Textmate's snippet into YASnippet format. The git repo of the snippet is at here.
snippets for glibc
sunwaybupt created snippets for glibc. It can be downloaded at here. And here is another made by pro21ms4.
gary's snippets
Gary has ported some snippets (especially those rspec snippets for ruby-mode) from Textmate. They can be found here (mixed with the official snippets of YASnippet).
rejeep's snippets
rejeep has published his snippets. You can browse them here or check out them through svn by svn co http://tuxicity.se/svn/emacs/snippets. He also included his dot emacs files there. You might find other useful stuff there.
eschulte's snippets for rails
eschulte's collection of yasnippets snippet definitions for use with Ruby on Rails, hosted at github repository.
Sign in to add a comment
