Hi, I have added following lines to my .vimrc if has("cscope") set csprg=/usr/local/bin/cscope set csto=0 set cst set nocsverb " add any database in current directory if filereadable("cscope.out") cs add cscope.out " else add database pointed to by environment elseif $CSCOPE_DB != "" cs add $CSCOPE_DB endif set csverb endif
I have set the CSCOPE_DB to '/myuser/mydir/cscope/cscope.out'. When I open a 'C' source file, I could see the cscope connections starting as shown below: # pid database name prepend path 0 22089 /myuser/mydir/cscope/cscope.out <none> 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. Please help. Thanks, Natesh __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com