News Feed
Sections




News Archive
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 -3-
May 23, 2005 @ 06:21:02

Tobias Sschlitt has a new post on his blog today with a few helpful hints on using VIM to "comfortably code PHP".

It's time to continue my series, since I again updated my .vimrc in the past weeks for much more comfortable editing of PHP sources using VIM. There are several new features I added: Auto completion of functions using , Auto reloading of .vimrc when changed, Enclose visually selected text by braces/quotes, Much more convenient scrolling through autoclosing folds, Search the PHP manual directly in VIM using phpm, Added settings for misconfigured machines, and more convenient creation of phpdoc blocks with correct indenting and automatic * chars.

To use some of this (and the older) features, you will have to download Rasmus' function list and install phpm (which is very easy).

He then goes into more detail on how to use each of the features and what some of the real benefits are. I love the fact that he integrated the phpm command-line application into VIM, making it that much easier to access the various functions. Thanks to a handy little function in the .vimrc, it knows if you're trying to complete a function name or not and takes the appropriate action when hitting .

For anyone that uses VIM out there, you really should check out this setup and see what features would work well for you...there's some really nice functionality here. (part one and part 2 are here...)

0 comments voice your opinion now!



blog comments powered by Disqus

Similar Posts

Community News: Packagist Latest Releases for 12.17.2013

MaltBlue.com: 5 Reasons Coding Standards Are Essential

Site News: Blast from the Past - One Year Ago in PHP

Site News: Job Postings for the week of 07.04.2010

Site News: Popular Posts for the Week of 01.31.2014


Community Events





Don't see your event here?
Let us know!


series unittest wordpress opinion laravel introduction testing refactor list developer interview podcast framework threedevsandamaybe language code install configure release community

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework