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
|
| |
|
|
| |
|
|
| |
|