2 Cursor movement commands
Keystrokes | Command name | Action |
---|---|---|
C-f | forward-char | Moveforward one character (right). |
C-b | backward-char | Movebackward one character (left). |
C-p | previous-line | Move toprevious line (up). |
C-n | next-line | Move tonext line (down). |
M-f | forward-word | Move one wordforward. |
M-b | backward-word | Move one wordbackward. |
C-a | beginning-of-line | Move tobeginning of line. |
C-e | end-of-line | Move toend of line. |
M-e | forward-sentence | Move forward one sentence. |
M-a | backward-sentence | Move backward one sentence. |
M-} | forward-paragraph | Move forward one paragraph. |
M-{ | backward-paragraph | Move backward one paragraph. |
C-v | scroll-up | Move forward one screen. |
M-v | scroll-down | Move backward one screen. |
C-x ] | forward-page | Move forward one page. |
C-x [ | backward-page | Move backward one page. |
M-< | beginning-of-buffer | Move to beginning of file. |
M-> | end-of-buffer | Move to end of file. |
(none) | goto-line | Go to linen of file. |
(none) | goto-char | Go to charactern of file. |
C-l | recenter | Redraw screen with current line in the center. |
M- n | digit-argument | Repeat the next commandn times. |
C-u n | universal-argument | Repeat the next commandn times (four times if you omit n). |
This post is licensed under CC BY 4.0 by the author.