Wednesday, August 25, 2010

Re: prevent automatic jumping when using quickfix for cscope commands

On Aug 24, 8:59 pm, EdwardXu <edwardxuhui19...@gmail.com> wrote:
> Hi, all,
> I use quickfix for the output of cscope commands by setting cscopequickfix,
> it seems vim always jump to the first matched result automaticly which is
> mostly not the symbol i'm searching for.
> How to just put the results into quickfix windows without jumping to the
> first matched result?
>

You can't currently. Maybe you could make a mapping to call your
Cscope search, then return to the last place in the jump list.

I just let it jump, then open the quickfix window and find the result
I really want.

There was a patch to Vim's C code posted some time ago for adding this
functionality, but I don't know what became of it.

--
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: