Milan Vancura wrote:
> Consider a two-line file:
>
> AA
> 2lp

I am going to take a wild guess and hope that someone will find
support in the documentation.

A command like 99l may be interpreted to mean "move right N
times, where N is the smaller of 99 and the maximum possible".

However, a command like ll might mean "move right, then move
right again; if either of these cannot move, that is an error".

Conclusion: Your 2l command did not abort the macro because not
moving was not considered an error, but the ll command did
generate an error. I suppose one could try a test with try/catch
for a further experiment.

John


--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui