Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
a collection of yasnippet snippets for many languages
Perl Prolog Groff Shell Ruby Python Other
tree: 250814eef4

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
antlr-mode
applescript-mode
autoconf-mode
c++-mode
c-mode
cc-mode
cmake-mode
conf-unix-mode
cpp-omnet-mode
csharp-mode
css-mode
emacs-lisp-mode
erc-mode
erlang-mode
f90-mode
go-mode
groovy-mode
haskell-mode
html-mode
java-mode
js-mode
js2-mode
latex-mode
ledger-mode
lisp-interaction-mode
lua-mode
m4-mode
magit-log-edit-mode
makefile-automake-mode
makefile-bsdmake-mode
makefile-gmake-mode
makefile-mode
markdown-mode
ned-mode
nesc-mode
nsis-mode
nxml-mode
octave-mode
org-mode
puppet-mode
python-mode
rst-mode
ruby-mode
scala-mode
sh-mode
snippet-mode
sql-mode
text-mode
tuareg-mode
udev-mode
yaml-mode
CONTRIBUTORS.txt
README.md
ensime-mode
rename_add_contr.py
typerex-mode

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 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.