On Thu, Jun 4, 2009 at 2:15 AM, 枫林 wrote:
> hi everyone
>    this is a problem I meet but I don't know how to fix:
>    I don't konw the tag file path, but it may be in the same path as the
> editing file, maybe in its parent path,or maybe in its parent parent path. I
> want vim to find the tag file recusively.
>    if use "set autochdir", vim only searches the tag file in the same path
> as the editing file

:help tags-option and :help file-searching

Something like this should work for you; it searches for tags in the
directory of the current file, then in the directory above that, then
the directory above that, etc, ending in /home/tags:

set tags=./tags;/home

~Matt

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

Reply via email to