Before this PR, occurrence operation(via o modifier or preset-occurrence by g o) was always works as characterwise.
This PR make linewise-bounded-operator works as linewise even in occurrence operation.
As like D works in linewise even in visual.characterwise mode,
As like D works in linewise even in occurrence operation.(select occurrence then re-select linewise).
This is great improvement I haven't noticed this idea until recently.
Fix #870
Before this PR, occurrence operation(via
o
modifier orpreset-occurrence
byg o
) was always works as characterwise. This PR make linewise-bounded-operator works aslinewise
even inoccurrence
operation.As like
D
works inlinewise
even invisual.characterwise
mode, As likeD
works inlinewise
even in occurrence operation.(select occurrence then re-select linewise).This is great improvement I haven't noticed this idea until recently.
Example
beforeEach
set text
Place cursor at
console
(whichever is OK).toggle line-comment for
console
containing lines.g / o p
Delete
console
containing linesSelect paragraph by
v i p
thenD
(delete-line
)Indent
console
containing linesg o > p
(markconsole
, thenindent
inner-paragraph
).