Sunday, July 12, 2020

Re: [Hint] quickfix list in vim for follow up errors

packadd cfilter showing error " it is not an editor command"  , as I should be come with vim , my development system is only vim but internet is not accessible on that due to some restrictions

On Sat, Jul 4, 2020 at 8:59 PM Gary Johnson <garyjohn@spocom.com> wrote:
On 2020-07-04, Kunal Chauhan wrote:
> Hi Team.
>
> I am using the :make all from vim in my source code.
> as the code has multiple warning and some error.
>
>  Point is: if i do the clist it shows multiple lines of code with warning , but
> I want to follow up the error part only , with out scrolling so much in clist .
> Is there will some nicer way of finding the error part easily of compilation
> via quickfixlist in large code base ?

I usually use the cfilter plugin for this.  It comes with Vim, so
you just need to enable it by putting

    packadd cfilter

in your vimrc.  See

    :help cfilter-plugin

Then you can filter your quickfix list to contain only errors with

    :Cfilter error

or remove all warnings with

    :Cfilter! warning

Those commands create new quickfix lists without affecting the
original list, you can return to the original list with

    :colder

HTH,
Gary

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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20200704152814.GA24359%40phoenix.


--
Thanks with Regards!

Kunal Chauhan
Mob:09813614826
Mob:08860397903

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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CACEFAc346MXw8za65%3DEX-3EJ2ikaT%2BxXC4aJ%2BNuAkaE3Og62Kg%40mail.gmail.com.

No comments:

Post a Comment