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

Add counts to text objects #13

Open
fdinoff opened this issue Aug 5, 2014 · 3 comments
Open

Add counts to text objects #13

fdinoff opened this issue Aug 5, 2014 · 3 comments

Comments

@fdinoff
Copy link
Contributor

fdinoff commented Aug 5, 2014

Would it be possible to add counts to the text objects? (Does it even make sense to add counts to text objects?)

@PeterRincker
Copy link
Owner

I have asked myself this very question. I am not opposed to such a thing however I have not come across the need in my own workflow. I imagine we would mirror the word text objects and target arguments to the right. Do you think this will be useful?

@fdinoff
Copy link
Contributor Author

fdinoff commented Aug 5, 2014

I came across it once or twice. Realized it wasn't there and did something else. I think mirroring the word text objects make sense.

I think it would be useful but probably not something I would use often.

@vimeitor
Copy link

Hello,
I think a good use-case would be when you have a method as a parameter for another method, and you want to change the parameter of the base method instead of the inner one, something like this:

foo(bar(baz), param)

You are on baz and want to change it to foo(p, param) instead of foo(bar(p), param). It would be useful to be able to type 2ci, or c2i,.

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

3 participants