Thursday, August 26, 2010

How to detect there are errors in quickfix?

Hi !

I want to achieve this:

map xxxx :make!<CR> (whether there are errors) ? ( :copen<CR>) : ( do
nothing)

I don't want to use :cw is because it will close cwindow If there are
no recognized errors, I want to keep the window if it is already open.


Regards.

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