Monday, April 4, 2016

Discarding the output (stderr?) from a filter

Hey Guys,

I am compiling my current file with the command:

:! pdflatex %

Vim briefly fires off a shell and the external program's progress is echo'ed to sterr (I believe). This is the behavior I want.

However, when I put this mapping into my .vimrc

inoremap <C-p> <esc>w!!pdflatex %<CR>i

The messages that were previously echo'ed to stderr are now inserted into my file.

Ideally I would like the stderr messages to appear in a split window.

Any help would be greatly appreciated.

--
--
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/d/optout.

No comments: