helix icon indicating copy to clipboard operation
helix copied to clipboard

Add pseudo_pending for ms/mr/md

Open AceofSpades5757 opened this issue 2 years ago • 0 comments

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).

AceofSpades5757 avatar Aug 10 '22 05:08 AceofSpades5757

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.

AceofSpades5757 avatar Aug 11 '22 01:08 AceofSpades5757