David wrote:
On 17 Mai, 22:50, Charles Campbell<[email protected]>
wrote:
Please try v5h of LargeFile.vim (available at  
http://mysite.verizon.net/astronaut/vim/index.html#LARGEFILE).
I tried it and so far it does not do the job.

In this autocommand:
au BufReadPost *
\ if&ch<  2&&  line2byte(line("$"))>= g:LargeFile*1024*1024
\| if exists("b:LargeFile_mode")&&  b:LargeFile_mode == 0|call
LargeFile(1,expand(""))|endif
\| echomsg "***note*** handling a large file"
\| endif

The if exists("b:LargeFile_mode") does not work for me. If I cut the
whole second if it does.
But it does not work even then if I open a file using tabedit scp://...,
because&ch seems be 2.
I think v24i will now implement automatic large file handling via scp/ftp. Please check my website again.

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

Reply via email to