You can do this from within Vim:
:w !pandoc -o file.pdf
Or even write the buffer into a complex pipeline:
:w !grep pattern | somecommand > file.txt
And then you can exit Vim without saving:
:q!
You can do this from within Vim:
:w !pandoc -o file.pdf
Or even write the buffer into a complex pipeline:
:w !grep pattern | somecommand > file.txt
And then you can exit Vim without saving:
:q!