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

Using "in tag" motion with m takes the opening tag's last angle bracket #120

Open
ProfessorSalty opened this issue Apr 22, 2018 · 0 comments

Comments

@ProfessorSalty
Copy link

The motion mit for "move in tag" does move everything in between the selected tag, but it also takes one angle bracket too many.

Example:

<footer>
    <p>Some text</p>
</footer>

With the cursor over <footer>, the motion mit should behave like cit, dit, etc and yank out everything in between the <footer> tag. The pipe will stand for cursor:

<footer>|</footer>

Instead, it does this:

<footer|</footer>
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

1 participant