Monday, February 21, 2011

Re: Including into the current buffer from an external source

Hi Erik!

On Mo, 21 Feb 2011, Erik Christiansen wrote:

> That can be done with:
>
> :r! head -n 50 <filename> | tail -n 25
>
> (And the benefit is that the editor doesn't require its own odd syntax
> to do the job.)

There was a reason, why I posted a longer script. That script works on
Unix and Windows, while you're solution only works on Unix.

regards,
Christian

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