WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I guess built-in omnicomplete is a start, but perhaps we're talking some neocomplcache plugin module or something themsuch? Googling "vim wordpress autocomplete" doesn't really give much.

share|improve this question

You could use the tbex.xml file from the IIS branch, and convert the CodeCompletion node to a Vim dictionary. This dictionary could be used for auto-completion.

I haven’t tested it, but if you succeed make it public, that would be awesome. :)

share|improve this answer
I managed to get this working with WordPress.vim, by populating phpcomplete's completion dictionary from PHPUnit. – Darshan Sawardekar Apr 14 '14 at 6:28
@DarshanSawardekar Looks fantastic! – toscho Apr 14 '14 at 6:31
Thanks! I'm open to ideas to improve. :) – Darshan Sawardekar Apr 14 '14 at 6:42
@DarshanSawardekar I think you should write a new answer to this question pointing to wordpress.vim - it certainly qualifies as a solution! – tnorthcutt Apr 16 '14 at 14:59

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.