my-emacs-d/elpa/yasnippet-20161022.646/snippets
2016-10-24 08:30:06 +02:00
..
antlr-mode Update packages 2016-10-24 08:30:06 +02:00
applescript-mode Update packages 2016-10-24 08:30:06 +02:00
c-mode Update packages 2016-10-24 08:30:06 +02:00
c++-mode Update packages 2016-10-24 08:30:06 +02:00
cc-mode Update packages 2016-10-24 08:30:06 +02:00
chef-mode Update packages 2016-10-24 08:30:06 +02:00
clojure-mode Update packages 2016-10-24 08:30:06 +02:00
cmake-mode Update packages 2016-10-24 08:30:06 +02:00
conf-unix-mode Update packages 2016-10-24 08:30:06 +02:00
cperl-mode Update packages 2016-10-24 08:30:06 +02:00
cpp-omnet-mode Update packages 2016-10-24 08:30:06 +02:00
csharp-mode Update packages 2016-10-24 08:30:06 +02:00
css-mode Update packages 2016-10-24 08:30:06 +02:00
dix-mode Update packages 2016-10-24 08:30:06 +02:00
elixir-mode Update packages 2016-10-24 08:30:06 +02:00
emacs-lisp-mode Update packages 2016-10-24 08:30:06 +02:00
erc-mode Update packages 2016-10-24 08:30:06 +02:00
erlang-mode Update packages 2016-10-24 08:30:06 +02:00
f90-mode Update packages 2016-10-24 08:30:06 +02:00
faust-mode Update packages 2016-10-24 08:30:06 +02:00
fundamental-mode Update packages 2016-10-24 08:30:06 +02:00
git-commit-mode Update packages 2016-10-24 08:30:06 +02:00
go-mode Update packages 2016-10-24 08:30:06 +02:00
groovy-mode Update packages 2016-10-24 08:30:06 +02:00
haskell-mode Update packages 2016-10-24 08:30:06 +02:00
html-mode Update packages 2016-10-24 08:30:06 +02:00
java-mode Update packages 2016-10-24 08:30:06 +02:00
js-mode Update packages 2016-10-24 08:30:06 +02:00
latex-mode Update packages 2016-10-24 08:30:06 +02:00
lisp-interaction-mode Update packages 2016-10-24 08:30:06 +02:00
lisp-mode Update packages 2016-10-24 08:30:06 +02:00
lua-mode Update packages 2016-10-24 08:30:06 +02:00
m4-mode Update packages 2016-10-24 08:30:06 +02:00
makefile-automake-mode Update packages 2016-10-24 08:30:06 +02:00
makefile-bsdmake-mode Update packages 2016-10-24 08:30:06 +02:00
makefile-gmake-mode Update packages 2016-10-24 08:30:06 +02:00
makefile-mode Update packages 2016-10-24 08:30:06 +02:00
malabar-mode Update packages 2016-10-24 08:30:06 +02:00
markdown-mode Update packages 2016-10-24 08:30:06 +02:00
ned-mode Update packages 2016-10-24 08:30:06 +02:00
nesc-mode Update packages 2016-10-24 08:30:06 +02:00
nix-mode Update packages 2016-10-24 08:30:06 +02:00
nsis-mode Update packages 2016-10-24 08:30:06 +02:00
nxml-mode Update packages 2016-10-24 08:30:06 +02:00
octave-mode Update packages 2016-10-24 08:30:06 +02:00
org-mode Update packages 2016-10-24 08:30:06 +02:00
perl-mode Update packages 2016-10-24 08:30:06 +02:00
prog-mode Update packages 2016-10-24 08:30:06 +02:00
python-mode Update packages 2016-10-24 08:30:06 +02:00
rst-mode Update packages 2016-10-24 08:30:06 +02:00
ruby-mode Update packages 2016-10-24 08:30:06 +02:00
scala-mode Update packages 2016-10-24 08:30:06 +02:00
sh-mode Update packages 2016-10-24 08:30:06 +02:00
snippet-mode Update packages 2016-10-24 08:30:06 +02:00
sql-mode Update packages 2016-10-24 08:30:06 +02:00
text-mode Update packages 2016-10-24 08:30:06 +02:00
tuareg-mode Update packages 2016-10-24 08:30:06 +02:00
udev-mode Update packages 2016-10-24 08:30:06 +02:00
yaml-mode Update packages 2016-10-24 08:30:06 +02:00
.gitignore Update packages 2016-10-24 08:30:06 +02:00
.nosearch Update packages 2016-10-24 08:30:06 +02:00
cider-repl-mode Update packages 2016-10-24 08:30:06 +02:00
CONTRIBUTORS.txt Update packages 2016-10-24 08:30:06 +02:00
enh-ruby-mode Update packages 2016-10-24 08:30:06 +02:00
ensime-mode Update packages 2016-10-24 08:30:06 +02:00
js2-mode Update packages 2016-10-24 08:30:06 +02:00
js3-mode Update packages 2016-10-24 08:30:06 +02:00
LICENSE Update packages 2016-10-24 08:30:06 +02:00
README.md Update packages 2016-10-24 08:30:06 +02:00
rename_add_contr.py Update packages 2016-10-24 08:30:06 +02:00
typerex-mode Update packages 2016-10-24 08:30:06 +02:00
web-mode Update packages 2016-10-24 08:30:06 +02:00

Yasnippet official snippet collections

Join the chat at https://gitter.im/AndreaCrotti/yasnippet-snippets This repository contains the official snippets for yasnippet, as you can see from the git submodules link.

How to install

There are two options, if you have checked out yasnippet already, the only thing you need to do is to run git submodule update --init and it will checkout automatically this repository, at the last version it was synchronized too.

Otherwise if you want the latest and greatest snippets collection proceed as follows:

  1. clone this repository

  2. add to your .emacs the following

    • (add-to-list 'yas-snippet-dirs "$$DIRECTORY_WHERE_YOU_CLONED")
    • and in case you want to enable yasnippet globally: (yas-global-mode t)
  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.

Various notes

HTML snippets

Until September 1st 2014 there were a lot of HTML snippets in the repository, which were sometimes useful but I came to the conclusion that yasnippet was not the right fool for them, so they were removed in this pull request: https://github.com/AndreaCrotti/yasnippet-snippets/pull/49

To everyone writing a lot of HTML I suggest using emmet mode instead, which is a much more powerful mode for writing HTML tags.