Operator with "motion force" is not supported
I realize that you already know this problem very well. But since there is no issue on the issue tracker I figured I'd open one.
Steps to reproduce (_ means space):
On a line containing just
___word__
with the cursor on "word", diw deletes the word and leaves us with
_____
The command dViw deletes the same but "linewise", which means that effectively the whole line is deleted.
Using textobj-line to do the same thing: dil is the same as diw, but with dVil the "linewise" motion force is ignored.
This is not a useful example but it illustrates the problem.
Documentation is at :h o_v. I have reopened the discussion on the vim_dev mailing list:
https://groups.google.com/d/msg/vim_dev/MNtX3jHkNWw/bhL-o6TlKtgJ
Right, that is excellent.
I don't know whether you would like to participate in the discussion on vim_dev? – If not or if you don't have time, I would gladly update the patch and write a test, maybe that will convince Bram to include it. Would that be ok with you?
I would gladly update the patch and write a test, maybe that will convince Bram to include it. Would that be ok with you?
Sure. Thank you for the favor.