Torsten Andre <[email protected]> writes:

> Hello,
>
> I have a problem setting my tags path to a specific file. The tags file
> is stored within a directory I need to search for different other
> settings. Since I already know, where the tags file is to located, I'd
> like to set the tags path to the file when loading a file, so VIM
> doesn't have to search the tags file again.
>

Sorry to butt in here but this sounds like it might be a solution to a
problem I'm having.

I recently dropped a plugin pkg into ~/.vim.. and left it in its own
directory.  ~/.vim/xpt

Under that is the doc directory ~/.vim/xpt/doc

However in vim I do :helptags ~/.vim/xpt/doc
But afterward even though the tags file has appeared in 
~/.vim/xpt/doc vim knows nothing about the files in there.

:h xpt <vim says it knows nothing about it>  I even took one of the
items out of ~/.vim/xpt/doc/tags  (xpt-function.txt) and tried
:h xpt-function.txt but still I'm told that vim knows nothing about
it. 

Finally I extracted everything under ~/.vim/xpt/ and put it into
~/.vim.  That is, I moved it all up one level.  It makes something of
a mess of the ~/.vim directory, like loose *.vim files laying around
that are no longer identifiable as to what plugin they came with, but
at least now vim knows about xpt.

Just to keep things tidy and to be able to identify which files go
with what plugin... I'd sooner keep plugins in there own named
directory like with ~/.vim/xpt.

Is it possible to tell vim to look for those kind of files in specific
places as well as ~/.vim and $VIMRUNTIME?
Or even better for vim to recurse ~/.vim for doc and other
directories?


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

Reply via email to