GNU Emacs Manual emacs.pdf
Type C-h t (help-with-tutorial), run the Emacs learn-by-doing tutorial.
1. Entering Emacs
shell command: emacs [foo.txt] [&]
[run Emacs in the background with &]
2. Existing Emacs
C-x C-c
Kill Emacs(save-buffers-kill-terminal).
C-z
On a text terminal, suspend Emacs; on a graphical display, iconify (or “minimize”) the selected frame (suspend-frame).
3. Changing the Location of Point
Character
C-f and RIGHT
Move forward one character(forward-char)
C-b and LEFT
Move backward one character(backward-char)
Line
C-n and DOWN
Move down one screen line(next-line)
C-p and UP
Move up one screen line(previous-line)
C-a and Home
Move to the beginning of the line(*move-beginning-of-line)
C-e and End
Move to the end of the line(move-end-of-line)
Word
M-f
Move forward one word(forward-word)
M-b
Move backword one word(backward-word)
Buffer
M-<
Move to the top of the buffer(beginning-of-buffer)
M->
Move to the end of the buffer(end-of-buffer)
Screen
C-v and PageDown
Scroll the display one screen forward, and move point onscreen if necessary(scroll-up-command)
M-v and PageUp
Scroll one screen backward, and move point onscreen if necessary(scroll-down-command)