On 2014-10-07 15:58, David Fishburn wrote:
> I don't really want to open this file in a Vim buffer, I just want
> to write the contents of the file (currently open in Vim) through
> some external program and into a new filename.
It sounds like you're looking for
:help :w_c
so you'd do
:w !sort > output_vim_doesnt_load_in_a_buffer.txt
NOTE: the space before the "!" is important...otherwise it gets seen
as ":w!" which means something else.
-tim
--
--
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:
Post a Comment