emacs - movement within a file
Move by screenfuls:
| Command | Description |
|---|---|
| Ctrl v | Move forward one screenful |
| Meta v | Move backward one screenful |
| Ctrl l | Moving the text around the cursor to the center of the screen, top of the screen and bottom of the screen |
When you are in the middle of a word, Meta f moves to the end of the word. When you are in whitespace between words, Meta f moves to the end of the following word. Meta b works likewise in the opposite direction.
| Command | Description |
|---|---|
| Ctrl f | Move forward a character |
| Ctrl b | Move backward a character |
| Meta f | Move forward a word |
| Meta b | Move backward a word |
| Ctrl n | Move to next line |
| Ctrl p | Move to previous line |
| Ctrl a | Move to beginning of line |
| Ctrl e | Move to end of line |
| Meta a | Move back to beginning of sentence |
| Meta e | Move forward to end of sentence |
| Meta < (META Less-than) | moves the point to the beginning of the whole text |
| Meta > (META Greater-than) | moves the point to the end of the whole text |
| Meta { | |
| Meta } | |
| Meta A | go the first non-whitespace character in a line (The equivalent of ^ in Vim |
| Meta E | go the last non-whitespace character in a line (The equivalent of $ in Vim |
| Meta r | move the point without moving the text on the screen |