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 a textobject:SelectAttrs i-r/a-r #9037

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

HenryTSZ
Copy link
Contributor

What this PR does / why we need it:

Currently, the VSCodeVim does not have a feature for quickly selecting HTML attributes, so I went ahead and developed one myself.

Usage: Place your cursor on the attribute you wish to select, then use the commands i-r to select the inner attribute or a-r to select the entire attribute, like cir / dar / vir

Which issue(s) this PR fixes

no

Special notes for your reviewer:

  1. I haven't written any test cases for it, but I've manually tested the functionality and found it to be working well.
  2. Currently, I'm using the keybinding r, and I'm unsure if this mapping is universally acceptable or might conflict with other Vim functionalities.

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

Successfully merging this pull request may close these issues.

None yet

1 participant