Thursday, March 17, 2022

Re: Large file - Opening n head lines

Stan Brown wrote:
> On 2022-03-17 02:55, Lifepillar wrote:
>> On 2022-03-17, Ni Va <nivaemail@gmail.com> wrote:
>>> Is it possible to open a Large File Vim but just only few beginning lines
>>> of it, edit one of these 50 first lines and then save and quit ?
>> I don't think that is possible with Vim without the help of some
>> pre/post-processing tool, but... Vim can edit pretty large files
>> relatively quickly, if set up properly. Have you tried playing with
>> Vim's settings already?
> What settings do you have in mind? I wasn't aware that Vim needed to be
> set up differently for files of different sizes.
>
Vim doesn't "need" to be set up differently for large files. However,
options can be selected to make it faster.
See http://www.drchip.org/astronaut/vim/index.html#LARGEFILE for a
plugin that helps with large files.

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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/177e85f5-d1a2-abd1-d2db-29e7b2fde5bf%40drchip.org.

No comments: