| Key | command | what it does |
|---|---|---|
| C-f (right arrow) | forward-char | move forward one character |
| C-b (left arrow) | backward-char | move backwards one character |
| C-p (up arrow) | previous-line | move up one line |
| C-n (down arrow) | next-line | move down one line |
| M-f | forward-word | move forward one word |
| M-b | backward-word | move backwards one word |
| C-v | scroll-up | move cursor DOWN one screen in the document |
| M-v | scroll-down | move cursor UP one screen in the document |
| M-< | beginning-of-buffer | Go to the beginning of the document |
| M-> | end-of-buffer | Go to the end of the document |
| C-a | beginning-of-line | go to beginning of line. (surprise.) |
| C-e | end-of-line | go to the end of the line |
| Key | command | what it does |
|---|---|---|
| C-x C-f | find-file | open a new or existing file |
| C-x C-s | save-buffer | save this file with it's existing name |
| C-x C-c | save-buffers-kill-emacs | exit emacs |
| C-x o | other-window | move to another window (if more than one is visible) |
| C-x 1 | delete-other-windows | make the current window the only window visible |
| C-x 2 | split-window-vertically | makes another window (full width of the screen) |
| C-x 3 | split-window-horizontally | makes another window (full height of the screen) |
| M-x shell | shell | make a unix command line in the current window |
| Key | command | what it does |
|---|---|---|
| C-g (M M M) | keyboard-quit | quit current command |
| C-@ (C-SPACE) | set-mark | set a boundary for copying or deleting |
| C-w | kill-region | cut from mark to here, keep in buffer |
| C-k | kill-line | cut from here to end of line, keep in buffer |
| C-y | yank | paste last thing put in buffer |
| M-y | yank-pop | paste previous buffer (C-y must happen first) |
| C-s | isearch-forward | prompts for a phrase, searches for it interactively |
| M-% | query-replace | do an interactive search and replace |
| M-x ispell-buffer | ispell-buffer | run an interactive spell-checker |
| C-x ( | start-kbd-macro | begins recording a macro |
| C-x ) | end-kbd-macro | stops recording the macro |
| C-x e | call-last-kbd-macro | replay the last macro |
| M-5 C-x e | call-last-kbd-macro | replay the macro 5 (or however many) times |
| Key | command | what it does |
|---|---|---|
| C-h ? | help-for-help | shows a list of the help commands |
| C-h t | help-with-tutorial | runs the online tutorial |
| C-h a | command-apropos | allows user to search for a command containing a word |
| C-h m | describe-mode | describes anything special about the current setup |
| C-h b | describe-bindings | gives a list of the current key commands |
| C-h i | info | runs the special info help system |
| M-` (F10) | tmm-menubar | opens the menu in text mode |
| Key | command | what it does |
|---|---|---|
| C-c 1 | html-headline-1 | make <h1></h1> tags (C-c 2 makes <h2>, and so on) |
| C-c C-c i | html-image | make <img src="http:"> tag |
| C-c C-c h | html-href-anchor | make <a href="http:"></a> tags |
| C-c C-c u | html-unordered-list | make tags for a new unordered list |
| C-c C-c o | html-ordered-list | make tags for a new ordered list |
| C-c C-c l | html-list-item | add an <li> tag |
| Key | command | what it does |
|---|---|---|
| C-x d | dired | start up the directory editor |
| up, down arrow keys | (in dired) | move to files |
| enter key | (in dired) | open file or directory |
| c | (while cursor on a file name) | copy the file |
| M (capital M) | (in dired) | Prompt for new permission |
| C-s | isearch-forward | search for a file |
| Key | command | what it does |
|---|---|---|
| M-x blackbox | blackbox mode | A logic game (C-h m for help) |
| M-x doctor | doctor mode | Emacs has a built in psychotherapist(!) |
| M-x dunnet | dunnet | A text-only adventure game |
| M-x yow | zippy the pinhead | generate a completely meaningless random phrase |
| M-x spook | spook | generate anarchistic phrases |