Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1 KB

README.md

File metadata and controls

31 lines (22 loc) · 1 KB

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 to get more details

namespace and class

installation

Assuming you are using Vundle, or vim-plugin, 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.