I work with GVIM and cscope for C on Window 7. But, the cscope database gets soon outdated as and when code is updated. So, I added the following to my gvimrc
nmap <F11> :cs k 0 <CR> :!cscope -bR <CR> :cs a cscope.out<CR>
Since, I almost always work with only one cscope database, it is sufficient to kill only the first cscope database connection. However, when I execute cscope command it does not run from my project root directory. I can't figure out how to instruct cscope/cmd.exe to run cscope from project directory from within GVIM.
How to achieve this. Are there any well known plugins available for this feature ?