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.

I recently mapped my Ctrl key to my Caps Lock key to make using emacs easier. Most of the time it is awesome but one unintended consequence is that C-/ is a frequent typo when I am going for the ? (i.e., SHIFT+/). When this happens I lose text and I can't undo it with C-z but I am not sure exactly what is happening.

What is C-/ doing?

share|improve this question

1 Answer 1

up vote 10 down vote accepted

Ctrl+/ runs the command undo. (unless it's been remapped)

You can always find out what a command does by asking emacs.

Ctrl+h k runs the describe-key function.
You type the above , enter a key sequence, and Emacs tells you what it does.

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.