News Feed
Jobs Feed
Sections




News Archive
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: Latest PECL Releases for 04.03.2012

Site News: Popular Posts for the Week of 01.20.2012

Kovshenin.com: The Web Development Cycle Explained

Community News: Latest Releases from PHPClasses.org

Site News: Popular Posts for the Week of 04.23.2010


Community Events











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


object language testing functional unittest series framework introduction example code release zendframework2 podcast development phpunit application opinion interview tool community

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