Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chrisyue/my-snips
snippets for Ultisnips
https://github.com/chrisyue/my-snips
css html php sass snippets symfony twig ultisnips
Last synced: about 2 months ago
JSON representation
snippets for Ultisnips
- Host: GitHub
- URL: https://github.com/chrisyue/my-snips
- Owner: chrisyue
- License: mit
- Created: 2015-03-27T15:09:35.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2020-06-28T05:15:16.000Z (over 4 years ago)
- Last Synced: 2023-03-11T03:27:11.654Z (almost 2 years ago)
- Topics: css, html, php, sass, snippets, symfony, twig, ultisnips
- Language: Vim Snippet
- Size: 24.4 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# my-snips
My snippets for Ultisnips, mainly for languages of web development, like
PHP, HTML, CSS, SASS, .etc.Also I am a fan of Symfony, so there are many snips about Symfony, Doctrine
, Twig, .etc.With the Python power integrated into Ultisnips, my-snips can auto generate
complex code snippets, like generating namespace according to the filepath
or `composer.json`'s `psr-4` information, or auto generating class, abstract
class, interface or trait according to the file name.Please check the
[snippet files](https://github.com/chrisyue/my-snips/tree/master/UltiSnips)
to get more details![namespace and class](http://img.chrisyue.com/nc-class.gif "namespace and class")
# installation
Assuming you are using [Vundle](https://github.com/gmarik/Vundle.vim), or
[vim-plugin](https://github.com/junegunn/vim-plug), Put the code below into
your `.vimrc`:```
Plugin 'chrisyue/my-snippets'
"Or Plug 'chrisyue/my-snippets' if vim-plugin is used
```then run `:PluginInstall`, or `:PlugInstall` if vim-plugin is used.