21 August 2003
1:30 PM - 4:30 PM
Copyright (c) 1985 Free Software Foundation, Inc; See end for conditions. You are looking at the Emacs tutorial. Emacs commands generally involve the CONTROL key (sometimes labeled CTRL or CTL) or the META key (sometimes labeled EDIT or ALT). Rather than write that in full each time, we'll use the following abbreviations: C-<chr> means hold the CONTROL key while typing the character <chr> Thus, C-f would be: hold the CONTROL key and type f. M-<chr> means hold the META or EDIT or ALT key down while typing <chr>. If there is no META, EDIT or ALT key, instead press and release the ESC key and then type <chr>. We write <ESC> for the ESC key. Important note: to end the Emacs session, type C-x C-c. (Two characters.) The characters ">>" at the left margin indicate directions for you to try using a command. For instance:
Here are some keys that can save you time (in emacs as well as at the tcsh command line (character movement/delete options only) ). Remember that the meta key is the same as escape on a windows keyboard.
| ctrl-g | cancel current command | ctrl-x, ctrl-c | quit |
| ctrl-x, ctrl-f | open file | ctrl-x, ctrl-s | save file |
| ctrl-x, ctrl-w | save file with a different name | ctrl-x k | close file |
| ctrl-b | switch buffer | ctrl-x 1 | make 1 window |
| ctrl-x 2 | make 2 windows | ctrl-o | switch to other window |
| ctrl-s | incremental search | ctrl-h ? | help menu |
| ctrl-d | delete forwards | meta-d | delete words forward |
| ctrl-w | kill previous word | backspace | deletes backwards |
| ctrl-k | cuts current line of text | ctrl-y | pastes the line of text |
| ctrl-a | go to beginning of line | crtl-e | go to end of line |
| meta-f | move forward one word | meta-b | move backwards one word |
| ctrl-h t | Emacs tutorial | ctrl-_ | undo (control-underscore) |
This document was generated using the LaTeX2HTML translator Version 2002-1 (1.68)
Copyright © 1993, 1994, 1995, 1996,
Nikos Drakos,
Computer Based Learning Unit, University of Leeds.
Copyright © 1997, 1998, 1999,
Ross Moore,
Mathematics Department, Macquarie University, Sydney.
The command line arguments were:
latex2html -local_icons -no_subdir -split 0 emacstut.tex
The translation was initiated by Statistics Helpdesk on 2003-08-15