Ag. D. Hatzimanikas:
I could also use readfile(), which would probably suffice, but is this
more or less efficient than loading a file into a vim buffer. I will
still need to read the whole file either way since I don't know how
far through the file I will need to look.
Now if
On 21-Aug-08 16:15, Robert Webb wrote:
Ag. D. Hatzimanikas:
I could also use readfile(), which would probably suffice, but is this
more or less efficient than loading a file into a vim buffer. I will
still need to read the whole file either way since I don't know how
far through the file
Hi,
In a vim script, what's the best way to load a file (to search for
some info), then get rid of it again without any side-effects.
Eg, it shouldn't change the alternative buffer, it should no longer
be loaded in a hidden buffer, and it should work even when there's not
enough room to split
Robert Webb wrote:
Hi,
In a vim script, what's the best way to load a file (to search for
some info), then get rid of it again without any side-effects.
Eg, it shouldn't change the alternative buffer, it should no longer
be loaded in a hidden buffer, and it should work even when there's
On Thu, Aug 21, at 12:26 Robert Webb wrote:
I could also use readfile(), which would probably suffice, but is this
more or less efficient than loading a file into a vim buffer. I will
still need to read the whole file either way since I don't know how
far through the file I will need to