I am working my way through the :help scripting explanation
(usr_41.txt) and I have a question about the :@" command. I ran the
sample given in the explanation, where the "simple example" is:
:let i = 1
:while i < 5
: echo "count is" i
: let i += 1
:endwhile
And the expected output is
count is 1
count is 2
count is 3
count is 4
What I got was
:^I:let i = 1
:^I:while i < 5
: ^I: echo "count is" i
count is 1
: ^I: let i += 1
: ^I:endwhile
count is 2
count is 3
count is 4
Obviously, something is causing the commands to be echoed. I tried
copying the lines into a separate buffer and deleting the colons, but
that didn't fix the problem. Is there something that should be set
and isn't?
Daryl