Emacs cheat sheet

I keep meaning to write up an Emacs cheat sheet. There are dozens of them:

Mine is less of a cheat sheet and more of a series of reminders of things I keep looking up.

Windows

Split window:
   C-x 2  splits window into two (split-window-vertically)
   C-x 5  splits window into two (split-window-horizontally)

Switch window:
   C-x o  switch window
   C-M-v  scroll the next window

Deleting and rearranging:
   C-x 0  get rid of selected window (kill-window)
   C-x 1  get rid of all windows except this one (delete-other-windows)
   C-x ^  make the selected window taller (enlarge-window)
   C-x }  widen the selected window

Modes

Switch modes (example):
   M-x  java-mode
   M-x  font-lock-mode   (only works in X)

DemeterJ:
   Use {{ }} in .beh files and java-mode works pretty well.

Misc stuff

If you're using X and Emacs fonts are too small:
   add Emacs*font:8x13 to your .Xresources file

Display current line:
   M-x what-line

Display line number in mode line:
   M-x line-number-mode

Display column number in mode line:
   M-x column-number-mode

Go to specific line:
   M-x goto-line CR #