Hacker News new | ask | show | jobs
by r0bfelty 3380 days ago
One thing missing from the test is what options are being used in vim. I would like to see "vim -u NONE" added, which basically acts like pure vi. Yes, vim cannot really handle a 3GB xml file with syntax highlighting, but if you use "vim -u NONE" it is not a problem.
2 comments

Me too. vim -u NONE is a life saver.

/me waits for someone to say we shouldn't have 3GB xml files in the first place, like I don't know that already.

shrugs just edit them with regular expressions from the commandline. http://stackoverflow.com/a/1732454/3229684
Or a few other cases of large files, e.g. huge c files (like the sqlite3 amalgamation). Vim's xml syntax highlighting in particular is very slow, but other C-like languages are fine.