[REQUEST] Restore the original selection after undo
ing the result of the execute-keys
.
#5257
Labels
undo
ing the result of the execute-keys
.
#5257
Feature
So, I'm not sure if that's a big deal.
Maybe the issue could be closed after some discussion.
Problem: it's not a trivial task to implement a surround (surrounding a selection with some characters) command which:
undo
will revert both the changes and selection to the state before surrounding.Example 1:
Example 2:
Example 3:
Seems that the first example is the most obvious and economical, but it creates a second cursor.
Usecase
No response
The text was updated successfully, but these errors were encountered: