On Wednesday, July 17, 2013 1:20:15 AM UTC-5, Ingo Karkat wrote:
> On 17-Jul-2013 07:58 +0200, Ron Aaron wrote:
> 
> 
> 
> > I (and my colleagues) often need to view extremely large log files (>
> 
> > 1G).  From force of habit we use vim; but vim takes a very long time
> 
> > to open huge files.
> 
> 
> The best I can think of is the LargeFile plugin; please try it out:
> 
>         http://www.vim.org/scripts/script.php?script_id=1506
> 

I've personally found, even on a quad-core Windows 7 system, with my entire Vim 
config disabled, and the settings in LargeFile applied manually, that just 
reading or writing files of several hundred Megabytes is unbelievably slow in 
Vim.

The "head" and "tail" (and I think there is another) command in Unix-like 
systems allows extracting parts of a file, and I'm sure there's a way to put it 
back together later. I'm not sure of the equivalent on Windows. I don't 
actually ever need to edit a file that big, so I haven't bothered looking for a 
plugin to do that splicing for me.

Other than that...you'll probably just need to use a different program for this.

-- 
-- 
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/groups/opt_out.


Raspunde prin e-mail lui