Giter Site home page Giter Site logo

randen / yasnippet-snippets Goto Github PK

View Code? Open in Web Editor NEW

This project forked from andreacrotti/yasnippet-snippets

0.0 0.0 0.0 746 KB

a collection of yasnippet snippets for many languages

License: GNU General Public License v3.0

Emacs Lisp 60.29% Roff 33.52% C 4.19% HTML 2.00%

yasnippet-snippets's Introduction

Yasnippet official snippet collections

Gratipay

MELPA

Join the chat at https://gitter.im/AndreaCrotti/yasnippet-snippets

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.milkbox.net/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.

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: AndreaCrotti#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.

yasnippet-snippets's People

Contributors

andreacrotti avatar bgamari avatar czipperz avatar dgutov avatar gbalats avatar grafov avatar henriquenj avatar jaigupta avatar jferguson-gnubio avatar joaotavora avatar joeheyming avatar junchangchen avatar magnetophon avatar marcanuy avatar npostavs avatar olivia5k avatar s9gf4ult avatar scubacabra avatar sh-ow avatar shelling avatar spacecowboy avatar sshaw avatar tomcraven avatar unhammer avatar vedvyas avatar ybiquitous avatar yorkz avatar zbeekman avatar zhenglinj avatar zhenzong avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.