Welcome Guest, Not a member yet? Register   Sign In
Snippets for VIM SnipMate
#1

[eluser]Unknown[/eluser]
I've looked in several places but I couldn't seem to find a great deal of VIM PHP snippets for CI so I decided to create my own php.snippets file. I've put up the file on gist.github.com.

https://gist.github.com/864821

My eventual goal is to have a snippet for every function in every class and helper. I know it's a big task so if you feel up to the challenge, please contribute to the file. All constructive comments are welcome.

If you've never used SnipMate for VIM, I suggest you take a look at Janus: https://github.com/carlhuda/janus

Janus bundles many different VIM plugins that integrate Git, Gist, Terminal, tab-completion, folder tree, and tons of other stuff. If you're using VIM for development, definitely download Janus.
#2

[eluser]Amzad Hossain[/eluser]
https://gist.github.com/1142549


Very minor changes :

* Removed closing tag for <?php
* add `Filename` for auto filename insertion for classc and classm




Theme © iAndrew 2016 - Forum software by © MyBB