Tuesday, May 3, 2011

Re: BufReadPost getfsize and scp

David wrote:
> On 3 Mai, 10:39, Ben Schmidt<mail_ben_schm...@yahoo.com.au> wrote:
>
>> I don't know if it deals with this situation, but Dr. Chip's LargeFile plugin
>> disables various things to make editing large files more bearable, and since he
>> wrote netrw, too, maybe he's got some appropriate magic in place.
>>
> I tried the important line of the plugin to test, but it did not work.
>
> But I think it might be a good idea to look a bit into netrw.
> Thanks for mentioning it.
>

Netrw attempts to minimize the number of times that a password may be
needed, so it doesn't attempt to find out what the file size is before
getting the file via scp (or ftp).

LargeFile, like DL's example, uses getfsize() to do its automatic
large-file determination.

However, it does have a "force-it" option: try using :Large!
(instead of :Large).

Regards,
Chip Campbell

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