-
Notifications
You must be signed in to change notification settings - Fork 715
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
Select the data inserted by the p
and P
primitives
#4277
Comments
p
and <a-p>
primitivesp
and P
primitives
How is this different from |
I think this would be a big win. IMHO, the selection information is currently effectively "lost" and has to be recreated.
|
In the meantime, since redo results in selection, how about abusing it for a funny workaround like |
A possible implementation would be to add undo groups as a text object. The object would be defined by the start and end of the changed region(s) (for Type::Erase this would a single character). Counts would specify how far back in the history. You could then
where |
A new experimental branch has been started on the topic: 6e81879 |
This can now be closed |
Related to #1468
Feature
It'd be nice to have data arbitrarily inserted into the buffer via pasting be selected upon insertion.
Usecase
That feature would simplify the process of inserting data into a buffer that subsequently needs to be modified, especially when dealing with multiple line insertions (e.g. pasting from the clipboard).
This would probably have implications that are not necessarily comfortable to deal with interactively, I haven't thought much about it (better try it on a test branch and see how that goes).
HTH.
The text was updated successfully, but these errors were encountered: