Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 06-10-2009, 02:36 AM   #1
LQ Newbie
Registered: Feb 2009
Posts: 5

Rep: Reputation: 0
Post problem of using vim + cscope + ctags + taglist


In vim, when using cs find, if there are more than one match, vim doesn't show the selection screen for picking a match I want to go.

Is there any configuration fixing this?

Old 10-21-2009, 05:17 AM   #2
LQ Newbie
Registered: Oct 2009
Posts: 3

Rep: Reputation: 0
I had seen this problem some time back. Don't remember when. In fact I'm looking out for the answer now.

Does anyone here know the tweak to address this one?

i.e: VIM doesn't show options (multiple file names) when a token is define in more than one source file.
tags files does have multiple entries, I can see them.
Am I forgetting some configuration here?

Old 10-21-2009, 05:53 AM   #3
LQ Newbie
Registered: Oct 2009
Posts: 3

Rep: Reputation: 0

Configure VIM to use cscope using --enable-cscope option

configure example:
./configure --prefix=/usr --enable-cscope

If you installing from an RPM, no need to bother its enabled there.
Old 06-06-2011, 01:38 AM   #4
LQ Newbie
Registered: Jun 2011
Posts: 1

Rep: Reputation: Disabled
@neversetsun In my case I seem to have the VIM support already enabled in my vim installation.

$ vim --version | grep cscope
+cryptv +cscope +cursorshape +dialog_con_gui +diff +digraphs +dnd -ebcdic

But I have this issue as well - for ctags it shows the selection menu in case their are multiple results. When I do a cscope query - cs find s/g <symbol>, it just displays the "line (1 of 15): <<global>> <symbol>;" but doesn't show the selection menu. Any inputs are appreciated.



cscope, vim

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
configuring vim to use ctags manish.ym Linux - Desktop 3 01-03-2010 05:31 AM
Navigating Source with VIM+Ctags jhwilliams Linux - Software 1 01-27-2009 10:00 PM
Ctags setup in vim jrdioko Programming 7 12-20-2005 06:14 PM
vim plugin - taglist doesn't work correctly milod Programming 0 07-19-2003 09:13 AM

All times are GMT -5. The time now is 10:37 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration