On 17:37 Sat 27 Jul , Dahong Tang wrote:
> Hi,
>
> Whenever I use :make to compile, vim disappears from the screen and goes to the background, and is replaced by the shell command line screen with the message "Press ENTER or type command to continue".
>
> In this case, one could use a macro to press ENTER automatically and bring back vim. But while the macro is running, the screen display is not smooth, i.e., one can still see that the screen redraws (although very quickly) as vim goes out, shell comes in and out, and finally vim comes into the screen again.
>
> I am wondering, does anyone know if there is a way to keep vim always on top, like always in the foreground? I would like to keep the shell display in the background when executing :make, and redraw the screen only after the macro pressed ENTER and vim is back to the foreground?
>
> Thanks!
>
> --
> --
> 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.
>
Hi,
You have to use a :call system('make') for that. But it will not be
a perfect solution, since vim will freeze until the command has
executed. You can though append &. But in both cases the quick fix
error list will not be updated. You can also check out my plugin:
http://www.vim.org/scripts/script.php?script_id=4224
Best regards,
Marcin
--
--
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:
Post a Comment