helix
helix copied to clipboard
Add pseudo_pending for ms/mr/md
implements #3223
Adds pseudo pending text for ms
/mr
/md
commands (match surround, replace, and delete).
Currently hard-coded as there appears to be an issue with appending to the current editor.pseudo_pending
value.
- Can leave it open to not be cleared on the next key press. Leaves lingering pseudo text.
- Can append it, only to have it immediately cleared (appending in the target locations would be cleared immediately before appending).
It looks like pseudo_pending
is affected by initial key maps such as <space>
, or anything else opening an auto_info windows. I was unable to find where this is located, or how it is handled. If possible, it would have been nice to implement this same functionality for similar situations that wait on a key press, but that may be out of scope for this pr and issue.