Basic Navigation
Moving Your Cursor
Your cursor keys still work for simple navigation, including
"<PageUp>" and
"<PageDown>" keys. Control and Meta keys
for movement are listed below:
- "
C-a" Move to the beginning of the line
("beginning-of-line").
- "
C-e" Move to the end of the line
("end-of-line").
- "
C-f" Move forward one character
("forward-char").
- "
M-f" Move forward one word
("forward-word").
- "
C-b" Move backward one character
("backward-char").
- "
M-b" Move backward one word
("backward-word").
- "
C-n" Move down one line, vertically
("next-line").
- "
C-p" Move up one line, vertically
("previous-line").
- "
M-<" Move to the top of the buffer
("beginning-of-buffer"). Or
"<home>" key.
- "
M->" Move to the end of the buffer
("end-of-buffer"). Or
"<end>" key.
- "
M-x goto-line"
Read a number N and move point to line number N.
- "
C-v" Moves your file down one page
("scroll-up").
- "
M-v" Moves your file up one page
("scroll-down").
Screen Control and Navigation
A screen can be split into many different windows. Some window
manipulation commands are:
- "
C-x 2" Split the selected window into two
windows, one above the other
("split-window-vertically").
- "
C-x 3" Split the selected window into two
windows positioned side by side
("split-window-horizontally").
- "
C-x o" Select another window
("other-window"). That is
"o", not zero.
- "
C-x 0" Delete the selected window
("delete-window"). That is a zero.
- "
C-x 1" Delete all windows in the selected
frame except the selected window
("delete-other-windows").
- "
C-x 5 2" Create a new frame
("make-frame").
- "
C-x 5 0" Deletes frame that has focus
("delete-frame")
The commands "enlarge-window" and
"shrink-window" make the current taller and
shorter within the current frame.
Opening Files
Somewhere along the way, you may want to open a file. To do so, use
one of the following fun commands:
- "
C-x C-f"
Visit a file ("find-file").
- "
C-x C-r"
Visit a file for viewing, without allowing changes to it
("find-file-read-only").
- "
C-x C-v"
Visit a different file instead of the one visited last
("find-alternate-file").
- "
C-x 4 C-f"
Visit a file, in another window
("find-file-other-window"). Don't change
the selected window.
- "
C-x 5 C-f"
Visit a file, in a new frame
("find-file-other-frame"). Don't change
the selected frame.
- "
M-x auto-compression-mode"
Toggle automatic uncompression and recompression for compressed
files.
Way Buff Buffers
Some essential buffer manipulation commands are listed below:
- "
C-x b BUFFER RET" Select or create a buffer
named BUFFER ("switch-to-buffer").
- "
C-x C-b" List the existing buffers
("list-buffers").
- "
C-x k BUFNAME RET" Kill buffer BUFNAME
("kill-buffer").
- "
M-x kill-some-buffers" Offer to kill each
buffer, one by one.
Beginning |
Previous |
Next
Last updated $Date: 1997/04/11 03:46:13 $.