On May 6, 9:30 pm, Gary Johnson <[email protected]> wrote:
> On 2009-05-06, Mahurshi Akilla wrote:
>
> > How do I switch between files when I have more than one file with the
> > same tag info?
>
> > e.g.
> > filetag /mypath/folder1/file.txt
> > filetag /mypath/folder2/file.txt
>
> > When I open vim with
> > vim -t filetag
>
> > It says "tag 1 of 2 or more" and goes to the first one.
>
> > How do I tell it to go to the next file?
>
> :tn
>
> See
>
> :help :tn
>
> for more on that command and
>
> :help tag-matchlist
>
It is not obvious at all, but the following settings will allow you to
select from a list of matches when there are multiple matches:
:set cscopetag
:set cscopetagorder=1
See :help cst and :help csto
I think I'll make a tip on this if there isn't one already.
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---