Dan rants: Emacs cheat sheet

cursor movement
op charwordline
prev C-b M-b C-p
next C-f M-f C-n
kill C-d M-d C-k
transC-t M-t C-x C-t

regions
C-spcstart region mark
C-x C-xexchange cursor and mark
C-<mark at beginning
C->mark at end
C-ycut
C-wpaste
M-=count lines
M-|pipe

rectangles
C-x r kkill rect
C-x r tinsert text into rect
C-x r rcopy rect to register
C-x i rinsert rect from register

misc
M-% replace w/query
M-g goto line
C-g interrupt
C-l redraw and center
C-x ( start record
C-x ) stop record
C-x e playback
C-_ undo
C-u <num>repeat next command
C-r isearch back
C-s isearch forward

windows
C-x 1one window
C-x 2split vert
C-x 3split horz
C-tabother window
C-x bswitch buffer

Outlines"
headings"
C-c C-n  next visible
C-c C-p  prev visible
C-c C-f  next same lvl
C-c C-b  prev same lvl
C-c C-u  up heading

show/hide" C-c C-t  hide leaves C-c C-a  show all C-c C-d  hide-subtree C-c C-s  show-subtree C-c tab  show-children C-c C-c  hide leaf C-c C-e  show leaf C-c C-l  hide subleaves C-c C-k  show all leaves

info" mode
 n  Move to the "next" node of this node.
 p  Move to the "previous" node of this node.
 m  Pick menu item specified by name (or abbreviation).
 1-9, 0  Pick first..ninth, last item in node's menu.
Menu items select nodes that are "subsections" of this node.
 u  Move "up" from this node (i.e., from a subsection to a section).
 f or r  Follow a cross reference by name (or abbrev). Type `l' to get back.
 RET  Follow cross reference or menu item indicated by cursor.
 i  Look up a topic in this file's Index and move to that node.
 ,  (comma) Move to the next match from a previous `i' command.
 l  (letter L) Move back to the last node you were in.

Moving within a node:
 Space  Scroll forward a full screen. DEL Scroll backward.
 b  Go to beginning of node. Meta-> Go to end of node.
 TAB  Go to next cross-reference. Meta-TAB Go to previous ref.
 g  Move to node, file, or annotation tag specified by name
Examples: `g Rectangles' `g (Emacs)Rectangles' `g Emacs'.
 v  Move to file, with filename completion.
 k  Look up a key sequence in Emacs manual (also C-h C-k at any time).
 *  Look up a function name in Emacs Lisp manual (also C-h C-f).
 d  Go to the main directory of Info files.
 < or t  Go to Top (first) node of this file.
 >  Go to last node in this file.
 [  Go to previous node, treating file as one linear document.
 ]  Go to next node, treating file as one linear document.
 {  Scroll backward, or go to previous node if at top.
 }  Scroll forward, or go to next node if at bottom.
 =  Restore cursor position from last time in this node.
 a  Add a private note (annotation) to the current node.
 x, j  Add, jump to a bookmark (annotation tag).
 s  Search this Info file for a node containing the specified regexp.
 e  Edit the contents of the current node.


Tuesday, December 5th, 2000 danlyke@flutterby.com