On Saturday, June 30, 2018 at 9:41:08 PM UTC+12, xuejipeng wrote:
> I performed a misoperation and opened a 6G file with vim, which caused the 
> server to crash. I wonder if there is a configuration ...

I suggest you look at the LargeFile plugin:

https://www.vim.org/scripts/script.php?script_id=1506

Using it might solve your problem, but if it doesn't, it's quite simple, you 
could adapt it to suit your needs in a few lines of vim script. However, I 
don't know a good way to abort loading the file, perhaps someone here can tell 
us.

Regards, John Little

-- 
-- 
You received this message from the "vim_dev" 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_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui