On Wed, 2 May 2007 09:05:38 -0700 (PDT)
Natesh Kedlaya <[EMAIL PROTECTED]> wrote:
> As one can see from the output, the "prepend path" is set to <none>.
> How do I set the "prepend path" to some value that I want?
>
> I am able to use -P argument of cscope outside the vim to get the
> intended results but, not in the vim.
>
> I am using the Vim 6.3.
I'm not sure about Vim 6.3 - but in Vim 7.0 you can pass another
argument to ":cscope add" which sets the prepend path. So for example:
:cscope add /path/to/database/cscope.out /home/username
This sets /home/username as the prepend path, as if you had done -P on
the command line.
(Upon further inspection, I don't see anything in version7.txt about
this being new in Vim 7.0 so it should work (I would imagine) in the
version of Vim you're running.)
--
Taylor Venable
[EMAIL PROTECTED]
http://www.metasyntax.net/