Try starting vim without plugins:
vim -u NONE
You can also consider the other options described here .
Alternatively, consider deleting portions of the log files before opening them in the editor. Try using ack instead of grep . The -Q option makes ack treat the template as a literal and should be significantly faster (similar to grep -F ).
awk -Q pattern huge-file | vim -
The prefix of the above LANG=C command may help if you are using a UTF-8 locale.
source share