On 2009-07-22 17:33 (+0800), bill lam wrote:
> On Wed, 22 Jul 2009, Roald wrote:
>> vim | mail -s “subject” [email protected]
>
> I think vim unlike sed does not work well as a filter for pipe. sed
> basically scans from top to bottom sequentially while vim has to seek
> forward and backward inside its buffer.
Perhaps the above example is trying to say what this Vim command does:
:w !mail -s "subject" [email protected]
(For sending mail from command line I would prefer "mutt" instead of
"mail" because Mutt puts MIME headers and charsets correctly.)
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---