On Wednesday, July 17, 2013 5:58:45 PM UTC+12, Ron Aaron wrote: > I (and my colleagues) often need to view extremely large log files (> > 1G).From force of habit we use vim;
Vim's syntax colouring is brilliant for viewing log files; simple enough for on-the-fly highlighting of the stuff one is interested in. > but vim takes a very long time to open huge files. A "very long time"? My vim on Kubuntu 13.04, on a 7 year old dual core Athlon, 4 GiB RAM, takes 30 s to load 1 GiB of C source, after clearing the OS disc cache. I mention this because there have been reports of slowness of vim running on "network shares", and maybe there's some such slowing you down. If you're just looking at the end of the file, tail -n 100000 large_file | vim - is quick and can be useful. (Shame vim won't open a loop device.) 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/groups/opt_out.
