- Notifications
You must be signed in to change notification settings - Fork479
a collection of yasnippet snippets for many languages
License
AndreaCrotti/yasnippet-snippets
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This repository contains the official collection of snippets foryasnippet.
You can see a generated table of all snippetshere.
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.
sudo apt install elpa-yasnippet-snippets
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 useM-x yas-describe-tables
,which will show a table representation of all the snippets that are available in the current mode.
Snippets need to be generic enough to be useful for everyone, and not contain anything specific to your own system.
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 usingemmet mode instead, which is a much more powerful mode for writing HTML tags.
About
a collection of yasnippet snippets for many languages
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.