Friday, February 26, 2010

Re: how to keep the cscope output in a window?

Thank you very much for your help.

Your answer helps me to find a way to keep the output always open by
typing the command :copen.

Thanks

Frank

On Feb 26, 10:34 am, Reid Thompson <reid.thomp...@ateb.com> wrote:
> On Fri, 2010-02-26 at 13:26 -0500, Reid Thompson wrote:
> > On Fri, 2010-02-26 at 13:18 -0500, Reid Thompson wrote:
> > > On Fri, 2010-02-26 at 10:14 -0800, yixiaodaf...@gmail.com wrote:
>
> > > :clist
>
> > > :help clist
>
> > ack -- sorry - got my cscope and quickfix intermingled
>
> well,, now that I go and look....
>
>                                             *cscopequickfix* *csqf*
> *E469*
> {not available when compiled without the |+quickfix| feature}
> 'cscopequickfix' specifies whether to use quickfix window to show cscope
> results.  This is a list of comma-separated values. Each item consists
> of
> |cscope-find| command (s, g, d, c, t, e, f or i) and flag (+, - or 0).
> '+' indicates that results must be appended to quickfix window,
> '-' implies previous results clearance, '0' or command absence - don't
> use
> quickfix.  Search is performed from start until first command
> occurrence.
> The default value is "" (don't use quickfix anyway).  The following
> value
> seems to be useful: >
>         :set cscopequickfix=s-,c-,d-,i-,t-,e-
>
> so, setting the above :set cscopequickfix=s-,c-,d-,i-,t-,e-
>
> you can
>
> :cs find e function-name
>
> then :clist
> then :cnN
> where N is the number of the item in the list you want to jump to
> then :clist again
> then :cnN
> repeat

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: