Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Vi + Cscope: using "cscope find c function" in vim, finds multiple results, how to go next

Tags:

vi

cscope

When I used this command to search functions who call this function, if there are more than one result, only the first one showed in the buffer, how do I go to the next one with a vi command or shortcut keys?

like image 418
tao Avatar asked Dec 09 '10 14:12

tao


1 Answers

I guess your have modified your .vimrc following the instruction in this page http://vim.wikia.com/wiki/Cscope .

If I am right, try to delete these lines from .vimrc to see if it works :

if has('quickfix') set cscopequickfix=s-,c-,d-,i-,t-,e- endif

It works for me.

like image 127
Jeff Li Avatar answered Oct 02 '22 14:10

Jeff Li