. Updated Daily. Editions SDA India   SDA Indonesia
JAX Asia 2008 - Conference for Enterprise Java, SOA, Spring, Web Services, Ajax, Agile and more
BUSINESS ENTERPRISE SOLUTIONS ARCHITECTURE INFORMATION SECURITY WIRELESS & MOBILITY DATA & STORAGE DEVELOPMENT HARDWARE













News

Monday, 30 April 2007

PHP Editing Redefined with VIM-6

 

 

Tobias Schlitt tells you about the two new PHP functions that he has added to his PHP FTPlugin for VIM. These two are as follows:

  • PhpAlign(): this function helps you to organize the code when writing down an array declaration or a set of variable assignments. He shows you some code examples to bring in lucidity.
  • PhpUncomment(): Tobias says often you want to comment or uncomment a couple of lines, because you currently change those and want to make a backup or simply want to bring alternative code in place. This function comments a line which is not commented and uncomments a line that is commented, thus trying to fulfill your purpose.

Both function are mapped to shortcuts in visual mode (-a for PhpAlign() and -c for PhpUnComment()), if you are using his FTPlugin.

The changes are included in his SVN and documented there, too.

 

Read the Post

 
 
print save email comment

print

save

email

comment

 
 

Search SDA Asia

Free eNewsletter

SDA Asia Magazine Free Download
 
 
 
Copyright @ 2008 SDA Asia Magazine - All Right Reserved Privacy Policy | Terms of Use