On Mon, Feb 9, 2009 at 12:56 PM, Dominique Pelle wrote:
>
> cscope is good, but it does not solve the problem
> of jumping to the right function when overloading
> functions.
>
> As far as I know, there is unfortunately no solution
> yet for this.  It's been discussed in this mailing list
> a  couple of times. It's the feature that I would like
> most when developing in c++ with Vim.
>
> Until something exists, I've put the following line
> in my ~/.vimrc...
>
> noremap <c-]> g<c-]>
>
> ... so that pressing <c-]> shows all the matches
> and I can select the one I want manually.

AFAIK, that will break cscopetags - and, on the other hand, :set
cscopetags will make <C-]> behave like g<C-]>

So, to that end, I'm using this:

set cscopetag        " When using :tag, <C-]>, or "vim -t", try cscope:
set cscopetagorder=0 " try ":cscope find g foo" and then ":tselect foo"

~Matt

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to