Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

When I undo C-d in Emacs I can only restore one deleted letter at a time. This is extremely inconvenient. I would like all subsequent deletions to be treated as one for undelete purposes. Is there any way to control that? I found undo-tree to be helpful, but this does not solve the problem as the undo tree gets extremely big when characters are deleted. The same goes for deletion using Backspace.

share|improve this question

1 Answer 1

You can change the way you delete things, use C-u to group multiple delete-char events into one undo. You should also consider, where appropriate, other kill commands; kill-word M-d, kill-sentence M-k, kill-region C-w, etc.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.