no cscope connections错误是由于~/.vimrc中的set csprg=.....的设置不正确引起的
我的为set csprg=/usr/bin/cscope,而我的cscope是源码安装在/usr/local/bin/cscope,这样由于.vimrc中的设置错误导致cscope.out文件无法加载
65 if has("cscope")
66 set csprg=/usr/local/bin/cscope "指定我们加载cscope.out的程序!
67 set csto=0
68 set cst
69 set nocsverb
70 " add any database in current directory
71 if filereadable("cscope.out")
72 cs add cscope.out "用前面指定的cscope加载cscope.out
73 " else add database pointed to by environment
74 elseif $CSCOPE_DB != ""
75 cs add $CSCOPE_DB
76 endif
77 set csverb
78 endif