How to change color scheme in Vim. Comfortable PHP editing with VIM -3- - Blog - Open Source - schlitt.info. 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 <TAB>Auto reloading of .vimrc when changedEnclose visually selected text by braces/quotesMuch more convenient scrolling through autoclosing foldsSearch the PHP manual directly in VIM using phpmAdded settings for misconfigured machinesMore 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). Vim tips: Using viewports. A lot of folks use Vim, but many exploit only a small percentage of the editor's features.
Sure, you might know how to do the basics in Vim, but what about using more advanced features such as folding, split windows, and marks? With a little practice, you can really boost your productivity with Vim. In this and future articles, I'm going to cover Vim features that you may not be familiar with if you're a casual Vim user. If you're confident using Vim to edit configuration files or make short edits in text files, but maybe not too comfortable with undertaking major writing or coding in Vim, then these articles should be for you.
Search all files in project quickly. Searching for a word across the project wastes most of the developres time, which can be avoided by the use of GNU Id_utils with VIM.
The procedure needs to be followed is as follows: download GNU idutils 3.2d (mkid,lid,fid,fnid,xtokid) from. VIM for a PHP developer at Thijs Lensselink's Blog. For my coding work i mostly use Zend Studio.
And i am a big fan of this IDE. But i also do a lot of work in the shell. And that asks for at least basic vim knowledge. OSGalaxy. VIM an a PHP IDE - Thomas Koch. UPDATE: I'm using Emacs since some months and consider it superior to VIM for most use cases after using VIM for 4 years.
(And I also came to hate PHP by the way.) Today I read an article from Matthew Weier O'Phinney on Planet-PHP about Programming PHP with VIM. Since he want's to continue his series and I wrote a similiar text these days, I thought to post the text I wrote so far. Projects with Vim using projects.vim. I've been using NERD tree in Vim for a while now, liking the way it easily presents the files I'm working on in a tree format.
Unfortunately, many times, I don't need all the files that it lists. And other times, the files I do need are scattered across disparate locations. So I went looking for another solution, and think I've found it. Project.vim. At its root, the plugin takes advantage of Vim foldings to show and hide groups of directories and files. Configuring Vim right – items.sjbach.com. I have spent a lot of time peering into a Vim window, and relatedly, a lot of time testing different configurations.
These are the best non-standard options I’ve found or stolen from others over the years; listed below in order of descending usefulness — though I think everything in this article is worth skimming — is an omnium-gatherum of tips that should have value to anyone, no matter how they like to run Vim. That is, there is minimal editorializing.