How can I make vim show the current class and method I'm editing

Posted by dcrosta on Super User See other posts from Super User or by dcrosta
Published on 2011-05-05T16:09:41Z Indexed on 2012/06/26 21:20 UTC
Read the original article Hit count: 114

Filed under:
|

Does anyone know if it's possible (or know of an existing vim script or plugin) that can create a "status bar" that shows the name of the current class and method (or function) I'm editing?

I'm imagining that it would plug into the syntax parser for the filetype of the current buffer, and display a breadcrumb trail to show you what you're currently editing. I don't know vimscript well enough to suggest any more than that, but if there aren't any good solutions already, I may begin to hack on one, so suggestions as to where to start are welcome, too!

© Super User or respective owner

Related posts about vim

Related posts about text-editors