Vim’s new omni-completion

I’ve been busy recently.  Not entirely sure what I’ve been busy with, but obviously it must have been good.

This evening I have done some light playing with Vim 7’s new omni-completion.  tbh I’ve not used completion like this since I left the sheltered little world of Delphi programming on Windows (btw, Pascal is an awesome language and I shall smite all those who say otherwise!).  But for a lot of stuff it was really handy… from time to time I find myself not being 100% sure of the function I want to run and have to look up: this is where omni-completion will hopefully benefit me.

So, feast your eyes on Vim’s in-built PHP completion, helping me remember the substr() function (and providing all of the friendly arguments, or something):

gvim-omni.png

Pretty nifty for an editor that was born in 1976… and even then it was an add-on to ex, which was an improvement to the original ed.

Tags:

Leave a Reply