I have the following configuration in my init.el
:
(use-package delsel
:demand t
:config (delete-selection-mode +1))
When I do yank-pop
with M-y
while a region is selected, it deletes the selected region, but if I abort the process with C-g
, it doesn't bring my selected region back.
I have to undo, in order to bring back the deleted region.
Does anyone has any idea, how to implement this?