getting line number of a searched pattern

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

getting line number of a searched pattern

Ni Va

In this kind of buff :

foo << Here is my cursor

I would like to know the linenumber of pattern foonothing with backward search and not moving my cursor position so don't use call search(pattern, 'bn')


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

You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit