On 3/20/07, J.D. Laub <[EMAIL PROTECTED]> wrote:
I recently installed 7.0 and have noticed some undesirable behavior;
I'm expecting there's a config option that already exists and I'm
just missing it in the docs.
Suppose I run "vim *" and there happens to be some very large files
in the directory. While vim is loading a big file into its buffer,
I'd like to be able to interrupt (^C) that file's load, and then :n
to the next file. That's how it worked in 6.3.46, but with 7.0 a :n
tries to re-load the file that was interrupted.
I tried your scenario in vim7.0.188.I see the correct behaviour in vim7:
vim 7, after file-load-interrupted , then after :n!, switches to the
next file.
But if you do :n instead of :n!, vim will not switch (you get error
E37 instead).
Can you make sure you use :n! and not :n ?
Here is my testcase:
mkdir /tmp/1
cd /tmp/1
dd if=/dev/zero of=100mb bs=1M count=100
touch a b c
vim 100mb a b c
Ctrl-C # interrupt loadig of 100mb file
:n!
<- vim switches to the next file here
Yakov