Re: A challenge for those who feel like it
- Thanks for your replies.
I like the first solution, but it doesn't return to the original tab, which
was what I found most difficult.
Ian's solution works :-)
I didn't know about the function tabpagenr(), my solution was:
: let tab_id = expand("%")
: tab split
: cs find f <cfile> " locate the file using cscope plugin ( 'normal gf'
is fine also)
: while tab_id != expand("%")
: normal j
View this message in context: http://www.nabble.com/A-challenge-for-those-who-feel-like-it-tf3657250.html#a10281573
Sent from the Vim - General mailing list archive at Nabble.com.