Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

a collection of yasnippet snippets for many languages

branch: master
Octocat-spinner-32 antlr-mode remove all user entries December 11, 2011
Octocat-spinner-32 applescript-mode remove all user entries December 11, 2011
Octocat-spinner-32 autoconf-mode add README February 07, 2011
Octocat-spinner-32 c++-mode Replace some legacy usage of 'text' with 'yas-text' January 07, 2014
Octocat-spinner-32 c-mode define February 28, 2012
Octocat-spinner-32 cc-mode Merge pull request #9 from bo0ts/master December 25, 2013
Octocat-spinner-32 cmake-mode ifelse February 29, 2012
Octocat-spinner-32 conf-unix-mode remove all user entries December 11, 2011
Octocat-spinner-32 cpp-omnet-mode remove all user entries December 11, 2011
Octocat-spinner-32 csharp-mode Replace some legacy usage of 'text' with 'yas-text' January 07, 2014
Octocat-spinner-32 css-mode Add vendor prefix snippet to css-mode January 06, 2014
Octocat-spinner-32 emacs-lisp-mode remove all user entries December 11, 2011
Octocat-spinner-32 erc-mode remove all user entries December 11, 2011
Octocat-spinner-32 erlang-mode add a whole bunch of snippets taken from other people November 03, 2011
Octocat-spinner-32 f90-mode Updated names to avoid conflicts January 28, 2014
Octocat-spinner-32 go-mode remove all user entries December 11, 2011
Octocat-spinner-32 groovy-mode remove all user entries December 11, 2011
Octocat-spinner-32 haskell-mode instance October 01, 2012
Octocat-spinner-32 html-mode make html inherit from nxml-mode, move some common snippets there and February 02, 2014
Octocat-spinner-32 java-mode Merge pull request #21 from npostavs/jclass February 23, 2014
Octocat-spinner-32 js-mode closes issue #20 removing empty snippets February 23, 2014
Octocat-spinner-32 js2-mode add snippet for js-mode and js2-mode April 13, 2013
Octocat-spinner-32 latex-mode added for latex-mode: begin environment March 14, 2014
Octocat-spinner-32 ledger-mode add ledger-mode directory October 12, 2011
Octocat-spinner-32 lisp-interaction-mode remove a few contributor settings December 11, 2011
Octocat-spinner-32 lua-mode remove a few contributor settings December 11, 2011
Octocat-spinner-32 m4-mode remove all user entries December 11, 2011
Octocat-spinner-32 magit-log-edit-mode new snippets for magit log mode February 14, 2012
Octocat-spinner-32 makefile-automake-mode remove a few contributor settings December 11, 2011
Octocat-spinner-32 makefile-bsdmake-mode remove all user entries December 11, 2011
Octocat-spinner-32 makefile-gmake-mode phony targets July 18, 2011
Octocat-spinner-32 makefile-mode parents November 05, 2010
Octocat-spinner-32 markdown-mode fix problem with markdown mode #13 January 06, 2014
Octocat-spinner-32 ned-mode new submodes February 24, 2012
Octocat-spinner-32 nesc-mode closes issue #20 removing empty snippets February 23, 2014
Octocat-spinner-32 nsis-mode nsis snippets March 02, 2012
Octocat-spinner-32 nxml-mode make html inherit from nxml-mode, move some common snippets there and February 02, 2014
Octocat-spinner-32 octave-mode remove all user entries December 11, 2011
Octocat-spinner-32 org-mode remove wrong snippets November 28, 2013
Octocat-spinner-32 puppet-mode add yas-parents March 08, 2013
Octocat-spinner-32 python-mode utf8 encoding snippet in python-mode March 12, 2014
Octocat-spinner-32 rst-mode rst snippets February 01, 2014
Octocat-spinner-32 ruby-mode cls: handle multiple underscores March 16, 2014
Octocat-spinner-32 scala-mode simplify anonymous call April 23, 2012
Octocat-spinner-32 sh-mode remove space from 'sh-mode/args ' January 01, 2014
Octocat-spinner-32 snippet-mode remove all user entries December 11, 2011
Octocat-spinner-32 sql-mode add a whole bunch of snippets taken from other people November 03, 2011
Octocat-spinner-32 text-mode add missing function for the bang snippet, fixes #17 January 28, 2014
Octocat-spinner-32 tuareg-mode new ocaml snippets March 01, 2012
Octocat-spinner-32 udev-mode add a js-mode directory and more python scripts October 08, 2011
Octocat-spinner-32 yaml-mode remove all user entries December 11, 2011
Octocat-spinner-32 CONTRIBUTORS.txt add contributors file December 11, 2013
Octocat-spinner-32 README.md fix a typo in README March 02, 2014
Octocat-spinner-32 ensime-mode new pythoon March 12, 2012
Octocat-spinner-32 rename_add_contr.py remove .yasnippet extension July 07, 2011
Octocat-spinner-32 typerex-mode fixes #29 April 17, 2014
README.md

In this repository there is a colletion of my personal [[http://github.com/capitaomorte/yasnippet][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.

Something went wrong with that request. Please try again.