0

my cscope_maps.vim is

if has("cscope")

""""""""""""" Standard cscope/vim boilerplate

" use both cscope and ctag for 'ctrl-]', ':ta', and 'vim -t'
set cscopetag

" check cscope for definition of a symbol before checking ctags: set to 1
" if you want the reverse search order.
set csto=0
set cscopequickfix=s-,c-,d-,i-,t-,e-
" add any cscope database in current directory
if filereadable("cscope.out")
    cs add cscope.out  
" else add the database pointed to by environment variable 
elseif $CSCOPE_DB != ""
    cs add $CSCOPE_DB
endif

" show msg when any other cscope db added
set cscopeverbose  

just use github:cscope_maps.vim and add option set cscopequickfix=s-,c-,d-,i-,t-,e- my result is alway like enter image description here ,there is no quickfix window. what's wrong?

柚子youthy
  • 113
  • 8
  • 2
    Did you open the `quickfix` window with `:copen`? The window is not opened automatically. – Sato Katsura Oct 09 '15 at 06:36
  • I don't know how to reply under comments.to Sato: :copen really helps. but I remember old version I don't use this copen option. Now I have to type :copen everytime I start Vim? Is – 柚子youthy Oct 09 '15 at 09:18
  • to romainl:: the search results. from Sato answer, I know I can use :copen to open quickfix window.But is there someway automatically? – 柚子youthy Oct 09 '15 at 09:20

0 Answers0