I've switched from Textmate to Vim for about a year ago, so I've been immersed in books, screencasts and forums about Vim, and how people customize their .vimrc
's.
I'm not a beginner anymore, however by no means I'm an advanced or intermediate user, I'm in the stage when I feel confortable using Vim in an efficient way.
Here is the question:
How can I get the vim statusbar to show me which Javascript library/framework is in use? Obviously the most popular like jQuery, Prototype, YUI2/3, Dojo, etc.
Maybe it is just a trivial thing and some people may think that by looking at the code, you may be able to find which library is being used. But for the same reason, people has git
, hg
, rvm
, tags
, cwd
showing in their statusline, I want to see that in my statusline.
$(#id)
jquery,YUI({ filter: 'raw' }).use("node", function (Y) {
YUI3, etc. Also omnicompletion and syntax highlighting will be nice as well. – Jefferyjeffie