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

Added non interactive select_textobject commands #4287

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

Conversation

mitsuhiko
Copy link
Contributor

Hidden behind the select_textobject_inner and select_textobject_around menu are very useful selection options. However they cannot be directly bound to keys currently. You can only bring up the select_textobject_inner popup and then put a command into it. There are however quite a few cases where it's convenient to directly use one of the methods underneath.

This exposes most of these as commands with the exception of pair selection since there is no obvious best way to do that.

With this you can for instance do select_textobject_inner_word to do what miw does.

Loosely related issues:

@tmke8
Copy link

tmke8 commented Oct 15, 2022

Related to #1723 ?

@mitsuhiko
Copy link
Contributor Author

Indeed. I did not find that PR somehow. That one goes significantly farther and also makes the keymaps configurable. I'm not sure if this PR makes sense then but I will leave it open for now. I think as a first step it might be a smaller change.

@kirawi kirawi added A-helix-term Area: Helix term improvements S-waiting-on-review Status: Awaiting review from a maintainer. labels Oct 15, 2022
@the-mikedavis the-mikedavis mentioned this pull request Nov 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-helix-term Area: Helix term improvements S-waiting-on-review Status: Awaiting review from a maintainer.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants