1

I am looking to show the results of cscope in a split window. This question is the closet thing I found to an answerbut it doesn't explain fully how to resolve the issue. I also found this question where in the comments section they explain how to use the cscope to get a split window. But I just get an error No matches found for the global symbol

I thought I would make myself clear. I want to view the cscope results like this: enter image description here

Community
  • 1
  • 1
SUB
  • 287
  • 3
  • 14
  • 1
    You can try [quickfix][1] to show cscope result. [1]: http://stackoverflow.com/questions/8206985/does-cscope-support-history-list-recording/22990924#22990924 – Ben Sep 08 '15 at 07:13
  • What do you mean exactly by *"the results of cscope"*? – romainl Sep 08 '15 at 09:38
  • Results of cscope. For ex, when I want the places where the c symbol was used. There are around 20 results. I want to search in them – SUB Sep 08 '15 at 14:52
  • I'm confused. Is that somebody else's screenshot or something? It looks like you already know how to view the result list! – Ben Sep 08 '15 at 16:38
  • Yes. It is from another question. I have also linked to it in my question – SUB Sep 08 '15 at 22:01

1 Answers1

1

You can use the quickfix window for this. See :h cscopequickfix.

I wrote a small plugin around this that makes the experience slightly better. For example, it doesn't jump automatically to first result, it maintains the splits layouts etc.

https://github.com/ronakg/quickr-cscope.vim

ronakg
  • 4,038
  • 21
  • 46