cheat sheets.

$ cheat emacs_basics
Commands to Manipulate Files

C-x C-f    find-file.
C-x C-s    save-buffer. Save.
C-x s      save-some-buffers. Save All.

Commands to Manipulate Buffers

C-x b      switch-to-buffer.
C-x C-b    list-buffers. 
C-x k      kill-buffer. Asks to save if modified. 
C-x C-q    vc-toggle-read-only. Toggle read-only <-> read-write. 
   If the file under version control, it will check the file out for you. 

Commands to Manipulate Windows

C-v        scroll-up. 
M-v        scroll-down.
C-x o      other-window. Switch to another window.
C-x 1      delete-other-windows. Deletes all other windows except the current
one.
C-x 0      delete-window. Deletes just the current window.
C-x 2      split-window-vertically. Splits the current window in two,
vertically.
C-x 3      split-window-horizontally. Splits the current window in two,
horizontally.
C-M-v      scroll-other-window. Just like C-v, but scrolls the other window. 

Infinite Undo with Redo

C-_        undo. (Also C-x u)

Motion and Objects

C-f      forward-char. Moves forward (to the right) over a character. 
C-b      backward-char. Moves backward (to the left) over a character. 
M-f      forward-word. Moves forward over a word. 
M-b      backward-word. Moves backward over a word. 
C-n      next-line. Moves down to the next line. 
C-p      previous-line. Moves up to the previous line. 
C-a      beginning-of-line. Moves to the beginning of the current line. 
C-e      end-of-line. Moves to the end of the current line. 
M-a      backward-sentence. Moves to the beginning of the current sentence. 
M-e      forward-sentence. Moves to the end of the current sentence. 
M-{      backward-paragraph. Move to the beginning of the current paragraph. 
M-}      forward-paragraph. Move to the end of the current paragraph. 
C-x [    backward-page. Moves to the beginning of the current page. 
C-x ]    forward-page. Moves to the end of the current page. 
M-<      beginning-of-buffer. Moves to the beginning of the buffer. 
M->      end-of-buffer. Moves to the end of the buffer. 

From http://www.lib.uchicago.edu/keith/tcl-course/emacs-tutorial.html
Version 1, updated 764 days ago.
. o 0 ( | history | revert to | current | diff )
( add new | see all )