Skip to content

rinconjc/yasnippet-snippets

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yasnippet official snippet collections

This repository contains the official snippets for yasnippet, as you can see from the git submodules link.

How to install

  1. install yasnippet

  2. clone this repository

  3. add to your .emacs the following

    • (add-to-list 'yas/root-directory "$DIRECTORY_WHERE_YOU_CLONED")
    • (yas/initialize)
  4. M-x yas/reload-all to activate them

Alternatively run a git submodule update after you check out yasnippet (which however might be a bit behind the version in master).

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.

About

a collection of yasnippet snippets for many languages

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Perl 26.0%
  • Prolog 16.7%
  • Roff 13.9%
  • Shell 8.8%
  • Python 6.6%
  • Emacs Lisp 6.5%
  • Other 21.5%