Wednesday, January 26, 2011

Show method name in gutter

I'm working on some old legacy code with "methods" which are thousands of lines long. When jumping through a file, it's not always clear to me which method I'm in. I'd love to find a way to show the current line numbers method name in the gutter in much the same way that numbers are shown there with "set number".

Is this possible or is there another option?

Note that this is Perl code and I'm well-aware of the general "unparseable" nature of Perl. A "most works" solution would be fine.

Cheers,
Ovid
--
Live and work overseas - http://overseas-exile.blogspot.com/
Buy the book - http://www.oreilly.com/catalog/perlhks/
Tech blog - http://blogs.perl.org/users/ovid/
Twitter - http://twitter.com/OvidPerl/

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: