Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Tobias Schlitt's Blog:
Comfortable PHP editing with VIM -6-
May 01, 2007 @ 09:26:00

Continuing on from some previous posts on the topic, Tobias Schlitt shares even more tips for working with PHP in the vi editor, specifically with the FTPlugin for VIM.

I recently added 2 new functions to my PHP FTPlugin for VIM, which I wanted to implement for a longer time and recently needed quite often. [...] The PhpAlign() function takes it from you and aligns the array declaration properly. [...] PhpUnComment() simply comments a line which is not commented and un-comments a line that is commented.

Both function descriptions include a few examples of their use and he links to his subversion repository to make grabbing the latest version of the plugin simple.

tagged: vim plugin phpuncomment phpalign vim plugin phpuncomment phpalign