Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Operator with "motion force" is not supported #17

Open
glts opened this issue Apr 18, 2013 · 3 comments
Open

Operator with "motion force" is not supported #17

glts opened this issue Apr 18, 2013 · 3 comments

Comments

@glts
Copy link

glts commented Apr 18, 2013

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

@kana
Copy link
Owner

kana commented Apr 19, 2013

@glts
Copy link
Author

glts commented Apr 19, 2013

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?

@kana
Copy link
Owner

kana commented Apr 20, 2013

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants