Menu

#253 Cannot ignore case while searching file from vi

closed-rejected
None
7
2012-04-09
2010-02-25
No

I am trying to search for a file from within vi. I want cscope to ignore the case while searching.
So I tried the following in vi:

:cs -Cf f filename.cpp [say original file is FileName.cpp]

But it fails and shows the cscope usage help. Am I missing something? Please help.

Thanks in advance.

Discussion

  • Arun Prakash Jana

    • priority: 5 --> 7
    • assigned_to: nobody --> nhorman
     
  • Hans-Bernhard Broeker

    I really don't see how that's our problem. Wouldn't that rather be one of VIM's interface module to cscope?

     
  • Hans-Bernhard Broeker

    • status: open --> pending-rejected
     
  • Arun Prakash Jana

    I am so not interested in knowing whose problem it is after 2 years :). I believe utilities like vim, ctags, cscope are closely related. If you think the bug is due to vim and should be fixed, redirect to them, otherwise don't :).

     
  • Arun Prakash Jana

    • status: pending-rejected --> open-rejected
     
  • Neil Horman

    Neil Horman - 2012-04-09

    I concur with Hans. This isn't a cscope bug, and we're not here to pass on bug reportson your behalf. The cscope plugin is part of the vim project, so you need to go there. Also if you had bothered to read the :cs help in vim, you would note that it doesn't pass options like that at all. In fact it doesn't support cscope option passing at all. The best you can do is to set the csprg option to a wrapper script around cscope that sets the options for you there

     
  • Neil Horman

    Neil Horman - 2012-04-09
    • status: open-rejected --> closed-rejected
     

Log in to post a comment.

MongoDB Logo MongoDB