Re: Using right ctags file depending where Vim is started from - how?

2007-03-07 Thread Gary Johnson
On 2007-03-07, "A.J.Mechelynck" <[EMAIL PROTECTED]> wrote: > Gary Johnson wrote: > > On 2007-03-07, Zarko Coklin <[EMAIL PROTECTED]> wrote: > >> Hi all! > >> > >> I am trying to automate my Vim setup as much as > >> possible. On my PC I have 2 directories for 2 > >> different releases. > >> > >> C:

Re: Using right ctags file depending where Vim is started from - how?

2007-03-07 Thread Yegappan Lakshmanan
Hi, On 3/7/07, Zarko Coklin <[EMAIL PROTECTED]> wrote: Thanks to all who responded promptly. Special thanks to Michael Wookey. His solution is the most elegant one. It is based on upward search (which I did not know about). Therefore, setting following in .vimrc really did trick for me: "Make s

RE: Using right ctags file depending where Vim is started from - how?

2007-03-07 Thread Zarko Coklin
Thanks to all who responded promptly. Special thanks to Michael Wookey. His solution is the most elegant one. It is based on upward search (which I did not know about). Therefore, setting following in .vimrc really did trick for me: "Make sure semicolon is there. Used for upward search set tags=ta

Re: Using right ctags file depending where Vim is started from - how?

2007-03-07 Thread A.J.Mechelynck
Gary Johnson wrote: On 2007-03-07, Zarko Coklin <[EMAIL PROTECTED]> wrote: Hi all! I am trying to automate my Vim setup as much as possible. On my PC I have 2 directories for 2 different releases. C:\Code_Rel1 C:\Code_Rel2 At a very top level in each of these directories I have ctags files. H

RE: Using right ctags file depending where Vim is started from - how?

2007-03-07 Thread Michael Wookey
> Hi all! > > I am trying to automate my Vim setup as much as > possible. On my PC I have 2 directories for 2 > different releases. > > C:\Code_Rel1 > C:\Code_Rel2 > > At a very top level in each of these directories I > have ctags files. How can I setup Vim so that it > sources right ctags file

Re: Using right ctags file depending where Vim is started from - how?

2007-03-07 Thread Gary Johnson
On 2007-03-07, Zarko Coklin <[EMAIL PROTECTED]> wrote: > Hi all! > > I am trying to automate my Vim setup as much as > possible. On my PC I have 2 directories for 2 > different releases. > > C:\Code_Rel1 > C:\Code_Rel2 > > At a very top level in each of these directories I > have ctags files. Ho

Using right ctags file depending where Vim is started from - how?

2007-03-07 Thread Zarko Coklin
Hi all! I am trying to automate my Vim setup as much as possible. On my PC I have 2 directories for 2 different releases. C:\Code_Rel1 C:\Code_Rel2 At a very top level in each of these directories I have ctags files. How can I setup Vim so that it sources right ctags file depending from I starte