Here are a couple of files to make working with the YUI in vim/gvim a little easier.
Currently the only supported methods are: YAHOO, YAHOO.util, YAHOO.util.Dom, YAHOO.util.Event, YAHOO.util.CustomEvent, YAHOO.util.Anim & YAHOO.Tools
I'm not going to give full instructions, because if you are using vim you should know where these files go 8-)
syntax directory. And place the
In your .vimrc file place this line:
From Insert mode, hit the following keys to use code completion.
ctrl + X, ctrl + O