C
: holding the control key and M
: holding the Alt key.
Command | Description |
---|---|
C-h (or F1) |
Help |
C-x 1 |
Remove help window. |
C-x C-s |
Save a file back to disk. |
C-x C-c |
Exit Emacs permanently. |
C-x i |
Insert contents of another file into this buffer. |
C-k |
Delete a line. |
C-x u |
Undo an unwanted change. |
M-x revert-buffer |
Restore a buffer to its original contents. |
M-% |
Interactively replace a text string. |
RET |
Exit query-replace. |
C-s |
Search forward. |
C-M-s |
Regular expression search |