Note: There is now a better, less hacky solution available here.
taglist.vim is a popular vim plugin that leverages ctags to provide a list of function declarations in the current source file. Unfortunately, it doesn’t work very well with jsctags, because jsctags doesn’t support the same command line options as ctags and cannot have its output adjusted to the form expected by the plugin.
Here’s a quick workaround. Put the following Perl script in your
And add to your
Note 2: As of this post, Ubuntu packages version 0.1.97 of Node.js, which jsctags does not seem to like. jsctags seems to run fine with the latest stable copy from nodejs.org though.