I've figured it out, basically the cscope plugin i had put in
$HOME/.vim/plugin did not complete because it encounter a run time
error, basically it was this line:
add any cscope database in current directory
" below is disabled because vim 7 has scope on by default
if filereadable("cscope.out")
cs add cscope.out
" else add the database pointed to by environment variable
lseif $CSCOPE_DB != ""
" cs add $CSCOPE_DB
endif
since I have VIM 7, I believe it was already in the global setting.
When I view the a script, the above try to load again and gave an
error that there's one already running. I suspect the rest of the
line below it that contains the nmap key mapping was skip because of
the error. After I commented the above lines that try to load the
cscope.out, it works.
For my edification, is there a way to detect if cscope is already
loaded, I know you can run cs show to see if there is one running,
but how do code in vim? Thanks.
On Sep 19, 9:57 am, tekion <[email protected]> wrote:
> I've read that cscope can be use for c, java, and documentation. I
> would assume that it could also be use for bash scripting? Thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---