I use cscope on a large project, 7zip.
I generate the cscope database and run the command cscope -d
, then I search for the C symbol main
, I choose one, press Enter, but I get this:
cchaney@localhost 7zipsources$ cscope -d
Error detected while processing /home/cchaney/.vimrc:
line 10:
E492: Not an editor command: Plugin 'gmarik/Vundle.vim'
line 29:
E492: Not an editor command: Plugin 'scrooloose/syntastic'
line 30:
E492: Not an editor command: Plugin 'a.vim'
line 31:
E492: Not an editor command: Plugin 'molokai'
line 32:
E492: Not an editor command: Plugin 'scrooloose/nerdcommenter'
line 33:
E492: Not an editor command: Plugin 'unimpaired.vim'
line 64:
E518: Unknown option: autochdir
line 89:
E538: No mouse support: mouse=a
line 94:
E518: Unknown option: foldenable
line 95:
E518: Unknown option: foldmethod=syntax
line 96:
E518: Unknown option: foldcolumn=0
line 97:
E518: Unknown option: foldlevel=1
Press ENTER or type command to continue
This is weird, because everything is fine when I open the file directly in vim.
What's going on? How may I fix this?
UPDATE======
Cscope launched vi instead of vim. So , how to fix it?