Split selection into multiple selection-s of a given textobject type #7347
Unanswered
lucyColeclough
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Something that I have found myself coming across quite frequently is the desire to split my current selection into multiple based on a given textobject type
Example-s
Real
mi(
,S-s, "ret"
) to achieve this, although some argument-s contain comma-s within their default argument and type denotation so this is not a guarenteed solution. A consistant method would be (mi(
,split_on_parameter
)As such it would be beneficial to input (
%
,split_on_paragraph
, some operation)Hypothetical
Given that splitting is only one operation out of the various selection operation-s listed:
And given that all of these operation-s already have a generic way of passing argument-s to them using regex, instead of implementing command-s solely for
split
it would be better to implement a method of specifying text object-s as an argument to these operation-sA method of doing so would be to implement new special character-s for regex which corrospond to each textobject type, this would allow interaction of regex and ( textobject argument-s) without needing to design an interaction system.
One method of implementing such a thing without supporting interaction would be to allow either textobject-s or regex as an argument to these operation-s
I do not wish to work on this currently and this is not a request of work from other-s, it is better that it is recorded here than in my personal note-s
Thank you for the existing work helix dev-s
Beta Was this translation helpful? Give feedback.
All reactions