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
Implement vim-textobj-entire #4580
Conversation
Travis tests have failedHey @agrison, Node.js: 8if [[ $(git diff-index HEAD -- *.js *.ts *.md) ]]; then git diff; echo "Prettier Failed. Run `gulp forceprettier` and commit changes to resolve."; exit 1; fi
TravisBuddy Request Identifier: 40605940-5714-11ea-a64d-4f32104b3b66 |
Any feedback ? |
ping ? |
ping... |
Sorry I haven't gotten around to this, @agrison; I'll do a quick review now. I'm excited to get this into the next release! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, other than the few refactors I've requested. Thanks a bunch for the contribution!
Add missing period at the end of statements
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All done ✔️
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@J-Fields : Doesn't seem to change the status "Changes requested"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
What this PR does / why we need it:
This PR implements two text-objects from the vim-textobj-entire plugin
This Vim plugin adds two useful text-objects:
ae
which represents the entire content of a bufferie
which represents the entire content of a buffer without the leading and trailing spaces.You can then use
gUae
to transform the whole text buffer content in uppercase, whereas normally you would have to usegggUG
.This text-object has the advantage that you can use it from anywhere your cursor is currently located, you don't have to be conscious of the cursor position.
Which issue(s) this PR fixes
None
Special notes for your reviewer:
What do you think?