[EMAIL PROTECTED] wrote:
Hey Vimmers,
after reading through a thread earlier on sourcing commands from a file
i did a little experimentation with :normal. If given the line:
test this line
^
with the cursor at the carat and you do :normal vf'df'D nothing is deleted and
you are left in normal mode. If on the other hand, you actually type vf'df'D
in normal mode you are only left with test. I've noticed some other strange
behavior when using visual mode from :normal. Not sure if this is a bug.
It exists through patch 40 of vim7. Looks like both linux and windows
versions are affected.
Thanks!
Dan
When entering it at the console, each apostrophe sounds an error beep.
IIUC the first of these stops ":normal" and the latter does nothing.
Indeed,
:silent! normal vf'df'D
(where ":silent!" means "disregard any errors) leaves us with only "test".
Best regards,
Tony.