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

cin" doesn't target next quotes properly #272

Open
isevcik opened this issue Jan 14, 2022 · 2 comments
Open

cin" doesn't target next quotes properly #272

isevcik opened this issue Jan 14, 2022 · 2 comments

Comments

@isevcik
Copy link

isevcik commented Jan 14, 2022

According to https://github.com/wellle/targets.vim/blob/master/cheatsheet.md
in" should target next quotes

In this example(^ means cursor position):

cy.url().should("first", "second");
^

Using cin" should change "second" quoted text, but it changes first, what am I missing here?

@rockyzhang24
Copy link

n means next from your cursor position, so "first" is the next one starting from your cursor. If you want "second", you should use 2in".

@draftman9
Copy link

Can we set cin" is for the next(second) " and ci" is for current " or next(second) "?

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