문제

Suppose, you type a shortcut key in emacs (say M-x) and you realize that you did not want to do it. How do you undo a shortcut that you already typed?

I have tried Esc-d but that doesn't seem to do what I want. Typing C-g after a wrong input says that the shortcut is not defined.

What I want is a way to immediately come out of all the typed shortcuts and execute new shortcuts immediately.

I hope my problem seems clear.

도움이 되었습니까?

해결책

Cancel is C-g in emacs no matter what the context is.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top