I run Windows XP and gvim7.2. I want to inspect a large (130 MB) XML file with VIM. Is it possible to simply open the first 1000 lines of the file?
Tell me more
×
Super User is a question and answer site for
computer enthusiasts and power users. It's 100% free, no registration required.
|
the main problem of vim is not the file size, but the syntax highlighting of the file. i use the 'large file' script to disable such timeconsuming things when working on large files. |
||||
|
|
|
Also you can just:
|
|||
|
|
|
You may use
Then you would be able to open small_file.xml in gvim. This, of course, you have the head and tail utilities installed. |
|||
|
|