Allows lines surrounded with yss to be dot-repeatable. Currently dot repeating will only surround to the end of the line, since the ^ motion is processed before the <Plug> call. This PR also keeps the current count functionality.
Current behavior (when last action was e.g. yssB):
hi |there -> . -> hi BthereB
Allows lines surrounded with
yss
to be dot-repeatable. Currently dot repeating will only surround to the end of the line, since the^
motion is processed before the<Plug>
call. This PR also keeps the current count functionality.Current behavior (when last action was e.g.
yssB
):hi |there
->.
->hi BthereB
With this PR:
hi |there
->.
->Bhi thereB
Cursor move is also respected.