• Stars
    star
    1,088
  • Rank 42,566 (Top 0.9 %)
  • Language YASnippet
  • License
    GNU General Publi...
  • Created about 14 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

a collection of yasnippet snippets for many languages

Yasnippet official snippet collections

MELPA Stable NonGNU ELPA MELPA

This repository contains the official collection of snippets for yasnippet.

How to install

From melpa

You can install this package from melpa, by first ensuring that you have the melpa source in your package-archives.

(require 'package)
(add-to-list 'package-archives
             '("melpa" . "http://melpa.org/packages/") t)
(package-initialize)

Once that is done, then just refresh the packages and install it with.

  • M-x package-refresh-contents
  • M-x package-install yasnippet-snippets

Now all the snippets will load automatically, as soon as yasnippet loads.

On Debian β‰₯10 and derivatives such as Ubuntu β‰₯ 18.10

sudo apt install elpa-yasnippet-snippets

Contributing

If you have any useful snippets for any language or framework, then please feel free to contribute, by opening a PR or an issue if you have any suggestions.

To study the current snippets, I suggest that you use M-x yas-describe-tables, which will show a table representation of all the snippets that are 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 sometimes were useful, but I came to the conclusion that yasnippet was not the right tool for them, so they were removed in this pull request: #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.

More Repositories

1

minimal-emacs-configuration

Minimal emacs configuration for Python
Emacs Lisp
57
star
2

Emacs-configuration

My personal emacs configuration, using heavily git submodules for external packages
Emacs Lisp
29
star
3

elo

Elo ranking platform implemented in Clojure and re-frame
Clojure
19
star
4

org-passwords

Organize all your secrets with org-mode and emacs
Emacs Lisp
10
star
5

Network-mote

using telosb motes as network interface
C
6
star
6

meta-programming-talk

Source code and slides for a talk about Metaprogramming
Python
5
star
7

nomadic-communications

Relations of nomadic communications
Python
5
star
8

scripts

some useful scripts in my daily life
Shell
5
star
9

wireless-sensors

wireless sensor network code
Python
4
star
10

todo-or-die

Clojure
4
star
11

database-implementation

database implementation course
Python
4
star
12

csv-diff

analyse and show the diff of different csv files
Python
4
star
13

just-married

Clojure
4
star
14

pyconuk2012_slides

sources for talks given at pycon 2012 UK
Python
4
star
15

ep2013

my talks and notes from Europython 2013
Python
3
star
16

navigator

Multi language little navigator program, implementation of Floyd Warshall algorithm
Prolog
3
star
17

languages-for-scientific-computing

Objective-C
3
star
18

lambda

Talk about functional programming
Jupyter Notebook
3
star
19

bb-nrepl

babashka nrepl helper
Emacs Lisp
3
star
20

kaocha-retry

Retry plugin for Kaocha
Clojure
2
star
21

depr

Python
2
star
22

logic-truth-tables

Script used to create truth tables in different formats written in haskell
Haskell
2
star
23

cyphers

Clojure
2
star
24

programming-tools

small programming tools mainly for python and emacs
Python
2
star
25

verbose-metaclass

Python metaclass to keep track of all the methods called in time
Python
2
star
26

Design-patterns-notes

Some notes and code for a few design patterns
Python
2
star
27

functional-programming

functional programming
Haskell
2
star
28

Razz

simplified version of razz poker for simulation
C
2
star
29

project-organizer

organize all your projects supporting different SCM
Python
2
star
30

import-tree

show the tree of imports in from a Python program
Python
2
star
31

Conkeror-configuration

settings for conkeror
2
star
32

rt-simulate

simulation and analysis tool for some real time scheduling algorithms
Python
2
star
33

cdc

CDC simple pipeline
Clojure
2
star
34

advent2020

Clojure
1
star
35

carve-automate

Clojure
1
star
36

code-kata

my solutions of the code-katas from Dave Thomas
Python
1
star
37

dojo-chat

Dojo chat
Clojure
1
star
38

tick-migration

migrate from clj-time to tick
Clojure
1
star
39

parallel_tests

Parallel with kaocha
Clojure
1
star
40

graphql-sample

Python
1
star
41

personal-blog

source code for the rest static blog
Python
1
star
42

scrabble

Clojure
1
star
43

kafka-streams-talk

Clojure
1
star
44

markov_fun

fun with Markov chains
Clojure
1
star
45

Unit-testing-talk

Talk about unit testing written with Sphinx and hieroglyph
Python
1
star
46

generators

Python
1
star
47

reorg

slides about orgmode
Emacs Lisp
1
star
48

logging_errors

Python
1
star
49

python-profiling-analysis

analyze profile pstats results and create call graphs
Python
1
star
50

football

Fun way to draw teams for a more balanced game
Clojure
1
star
51

my-project-euler

my implementations for solving euler project problems
Python
1
star
52

jupyter

Talk about jupyter
Jupyter Notebook
1
star
53

social-network-kata

Clojure
1
star
54

yasnippet-mirror

mirror of yasnippet svn repository
Emacs Lisp
1
star
55

doomy-emacs

Emacs Lisp
1
star
56

proj-organizer

scala actors implementation of a project organizer
Scala
1
star
57

coding_dojo_uniq

Python
1
star
58

migrate-fast

Python
1
star
59

graphviz-mode-mirror

mirror of graphviz-dot-mode
Emacs Lisp
1
star
60

clojure_dojo

Simple api
Clojure
1
star
61

live-repl

Clojure
1
star