Saturday, October 19, 2013

conditionally open cope

Hi friends,
I am using singlecompile(SC) http://www.vim.org/scripts/script.php?script_id=3115 to compile single source code.
The problem is it do not show errors(if any) by default, and depends on quickfix.

So, the workflow is edit-SC-cope-edit.
I tried to change it in my vimrc by putting
nmap <F9> :SCCompile<cr>:cope<cr>
which will open the error window *everytime*.

Is it possible to call cope only when there is some error?

--
--
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.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: