scscope doesn't split the window

5 views
Skip to first unread message

Zheng Da

unread,
Jan 12, 2008, 8:13:47 AM1/12/08
to vim_use
I want to use cscope in Vim.
I have enabled cscope support.
The command "cscope" works well, but I prefer to put the cscope search
result in a new window.
Unfortunately, "scscope" doesn't split the window at all. It works
totally the same as "cscope".
I add "set cscopequickfix=s-,g-,c-,d-,i-,t-,e-" in .vimrc, now
"scscope" does split a new window, but it doesn't put the search
results in the new window. instead, it jumps to the first result in
the new window.
So I have to use "cope" to open the quickfix window to read the search
result.
I use Vim 7.0, and cscope 15.6.
Does anyone have idea what is wrong?

Zheng Da

Sergey Khorev

unread,
Jan 12, 2008, 9:35:51 AM1/12/08
to vim...@googlegroups.com
Zheng Da,

> I want to use cscope in Vim.
> I have enabled cscope support.
> The command "cscope" works well, but I prefer to put the cscope search
> result in a new window.

...


> So I have to use "cope" to open the quickfix window to read the search
> result.

:cs and :scs commands cannot put results in a new window, they can do so
only to the quickfix window.
AFAIR there are plugins that have functionality you are asking for.

Reply all
Reply to author
Forward
0 new messages