Collection of snippets for yasnippet
Go to file
James Ferguson 33bba4284d ignore compiled snippets 2014-10-03 11:24:04 -04:00
antlr-mode remove all user entries 2011-12-11 19:12:17 +00:00
applescript-mode Split text snippets into prog and fundamental 2014-05-31 17:19:06 -04:00
c++-mode fix c++-mode .yas-parents 2014-08-13 11:25:44 +04:00
c-mode Split text snippets into prog and fundamental 2014-05-31 17:19:06 -04:00
cc-mode remove underscores since they are only for reserved names and fixes #24 2014-04-26 15:57:07 +01:00
chef-mode This is a collection of chef resources 2014-08-01 14:22:31 -05:00
cmake-mode Split text snippets into prog and fundamental 2014-05-31 17:19:06 -04:00
conf-unix-mode remove all user entries 2011-12-11 19:12:17 +00:00
cperl-mode Bring cperl-mode back from yasnippet 0.8.0 2014-08-31 14:46:22 +08:00
cpp-omnet-mode remove all user entries 2011-12-11 19:12:17 +00:00
csharp-mode Replace some legacy usage of 'text' with 'yas-text' 2014-01-07 09:05:51 +00:00
css-mode Split text snippets into prog and fundamental 2014-05-31 17:19:06 -04:00
emacs-lisp-mode Split text snippets into prog and fundamental 2014-05-31 17:19:06 -04:00
erc-mode remove all user entries 2011-12-11 19:12:17 +00:00
erlang-mode add a whole bunch of snippets taken from other people 2011-11-03 14:07:34 +00:00
f90-mode Updated names to avoid conflicts 2014-01-28 13:40:26 +01:00
fundamental-mode remove snippets in fundamdental-mode, leaving the directory just to not 2014-09-05 10:08:00 +01:00
git-commit-mode magit-log-edit-mode obsoleted by git-commit-mode 2014-05-31 17:19:05 -04:00
go-mode Bugfixes in snippets for golang. Related to pull request #43. 2014-08-08 08:02:01 +04:00
groovy-mode Split text snippets into prog and fundamental 2014-05-31 17:19:06 -04:00
haskell-mode Split text snippets into prog and fundamental 2014-05-31 17:19:06 -04:00
html-mode make html inherit from nxml-mode, move some common snippets there and 2014-02-02 20:48:29 +00:00
java-mode Added a new snippet main_class 2014-06-01 20:48:20 +05:30
js-mode Split text snippets into prog and fundamental 2014-05-31 17:19:06 -04:00
js2-mode add snippet for js-mode and js2-mode 2013-04-13 16:55:33 +08:00
latex-mode Split text snippets into prog and fundamental 2014-05-31 17:19:06 -04:00
lisp-interaction-mode remove a few contributor settings 2011-12-11 19:05:59 +00:00
lua-mode remove a few contributor settings 2011-12-11 19:05:59 +00:00
m4-mode remove all user entries 2011-12-11 19:12:17 +00:00
makefile-automake-mode remove a few contributor settings 2011-12-11 19:05:59 +00:00
makefile-bsdmake-mode remove all user entries 2011-12-11 19:12:17 +00:00
makefile-gmake-mode phony targets 2011-07-18 11:08:42 +02:00
makefile-mode Split text snippets into prog and fundamental 2014-05-31 17:19:06 -04:00
markdown-mode utf8 encoding for markdown 2014-04-24 20:49:08 -03:00
ned-mode Split text snippets into prog and fundamental 2014-05-31 17:19:06 -04:00
nesc-mode closes issue #20 removing empty snippets 2014-02-23 17:52:12 +00:00
nsis-mode Split text snippets into prog and fundamental 2014-05-31 17:19:06 -04:00
nxml-mode massive cleanup of very simple tags that don't add much value anyway 2014-08-24 11:14:08 +01:00
octave-mode remove all user entries 2011-12-11 19:12:17 +00:00
org-mode Split text snippets into prog and fundamental 2014-05-31 17:19:06 -04:00
perl-mode Bring perl-mode back from yasnippet 0.8.0 2014-08-31 14:45:43 +08:00
prog-mode Split text snippets into prog and fundamental 2014-05-31 17:19:06 -04:00
python-mode python-mode/super: autogenerate class/method 2014-10-03 09:50:33 -04:00
rst-mode Split text snippets into prog and fundamental 2014-05-31 17:19:06 -04:00
ruby-mode -K flag should be dropped now 2014-07-16 01:18:32 +05:30
scala-mode Update scala/app snippet to extend App 2014-09-04 16:40:38 -07:00
sh-mode Split text snippets into prog and fundamental 2014-05-31 17:19:06 -04:00
snippet-mode Give a useful body to snippet-mode/cont(ributor) 2014-05-11 12:36:59 -04:00
sql-mode Split text snippets into prog and fundamental 2014-05-31 17:19:06 -04:00
text-mode Split text snippets into prog and fundamental 2014-05-31 17:19:06 -04:00
tuareg-mode Split text snippets into prog and fundamental 2014-05-31 17:19:06 -04:00
udev-mode add a js-mode directory and more python scripts 2011-10-08 16:38:06 +01:00
yaml-mode Split text snippets into prog and fundamental 2014-05-31 17:19:06 -04:00
.gitignore ignore compiled snippets 2014-10-03 11:24:04 -04:00
CONTRIBUTORS.txt add contributors file 2013-12-11 20:43:44 +00:00
LICENSE Update LICENSE 2014-05-17 17:06:04 +01:00
README.md fix a link 2014-07-02 16:35:20 +04:30
enh-ruby-mode add enhanced-ruby-mode alias 2014-08-21 16:12:50 -03:00
ensime-mode new pythoon 2012-03-12 21:06:46 +00:00
rename_add_contr.py remove .yasnippet extension 2011-07-07 14:32:44 +02:00
typerex-mode fixes #29 2014-04-17 18:44:06 +01:00

README.md

In this repository there is a colletion of my personal yasnippet snippets for many different Emacs modes.

How to use

  1. install yasnippet
  2. add to your .emacs the following
    • (add-to-list 'yas/root-directory "$DIRECTORY_WHERE_YOU_CLONED")
    • (yas/initialize)
  3. M-x yas/reload-all to activate them

Contributing

This repository has now become the default snippets repository (as a submodule) in yasnippet. So if you have any useful snippets for any language or framework please feel free to contribute.

To study the current snippets I suggest to use M-x yas/describe-tables which will gave a table representation of all the snippets available in the current mode.

Guidelines

Snippets need to be generic enough to be useful for everyone, and not contain anything specific to your own system.