I once saw a feature in Vim where, when I delete the text to the left of the cursor, the text is indeed deleted. However, a faint impression of the text remains in its original place, as shown in the figure below.
The original text was
alias ll='ls -l'■
After deleting to the left, it becomes
The right side of the cursor shows the text that originally existed there to remind me what I just deleted. They won't be retained in the final saved file.
The advantages of this are self-evident. I want to ask if there's a package in Emacs that can implement a similar feature.