ruby-vim line number

T

tsuraan

This might be more appropriate on a vim list, but I'll give it a go here...=
=20

Does anyone know a way, using vim-ruby, to determine what line of a
given buffer is currently active?

I'm jumping around in a huge cpp file using ctags, and I thought it
would be really nice to write a ruby script to say what function I'm
currently looking at, but I can't figure out how to get the current
line number into my ruby script. Any ideas?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,079
Latest member
ElidaWarin

Latest Threads

Top