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

Accept counts #8

Open
theHamsta opened this issue Oct 4, 2020 · 6 comments
Open

Accept counts #8

theHamsta opened this issue Oct 4, 2020 · 6 comments
Labels
enhancement New feature or request

Comments

@theHamsta
Copy link
Member

Would be nice if the move commands could accept counts. And also the select commands could accept counts to select an outer textobject in a nested structure.

@theHamsta theHamsta added the enhancement New feature or request label Oct 4, 2020
@sanga
Copy link

sanga commented Oct 23, 2020

as in v2af selecting 2 functions? If so, yes, that would be very nice (I came here to file that feature request)

@theHamsta
Copy link
Member Author

theHamsta commented Oct 23, 2020

as in v2af selecting 2 functions? If so, yes, that would be very nice (I came here to file that feature request)

Yes, precisely that but maybe also to select the outer ones of two nested functions.

@singlexyz
Copy link
Contributor

Would be nice if the move commands could accept counts. And also the select commands could accept counts to select an outer textobject in a nested structure.

Select outer and inner, I think here is.
https://github.com/nvim-treesitter/nvim-treesitter#incremental-selection

@theHamsta
Copy link
Member Author

Will add the count option soon, this will also make the plugin a lot faster...

@jameswalmsley
Copy link

Any news on implementation of this?

@danielnehrig
Copy link

would this also cover the use case for jumping to a second match for instance deleting the second argument in a function
d2]a

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

No branches or pull requests

5 participants