Wednesday, February 8, 2012

Pipe current buffer to external command without redrawing current screen?


I've been piping the current buffer to an external script like this:
silent! exec "silent! write! !some-script &>/dev/null &" 

And it works, but its very annoying because the status bar at the bottom of the current Vim session (I use laststatus=2) and the tildes at the bottom of the window blink everytime that is called. Is there a way to pipe the current buffer to an external command without having the screen redraw like that?

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

Post a Comment