Thursday, December 15, 2011

Re: can quickfix achieve this?

On 15/12/11 17:21, Jim Green wrote:
> Hello vimmers!
>
> first I am not sure if this is possible:
>
> when using cscope with quickfix, if a file has multile matches, each
> match will show in the quickfix and each match has filename in the
> beginning.
>
> Could the result be grouped by files, so basically if multiple matches
> are in one file I want the filename show up just once.
>
> I tried emacs with cscope and I feel this feature is very useful.
>
> Thanks!
>
> Jim
>

I don't think it's possible, but maybe you could use the following
mappings to advantage:

:map <F2> :cnext<CR>
:map <S-F2> :cprev<CR>
:map <F3> :cnfile<CR>
:map <S-F3> :cpfile<CR>

With them, I only rarely need to open the quickfix window.


And BTW, I tried Emacs with a keyboard and found it totally unusable. :-P


Best regards,
Tony.
--
Diplomacy is the art of saying "nice doggy" until you can find a rock.

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