Emacs point (cursor) movement
One of the features of Emacs is fine control of things such as cursor movement. (Emacs "point" is essentially what the rest of humanity calls "cursor.") If you want to move forward or backward a word, a sentence, a line, or a paragraph, you can do so directly rather than just holding down arrow keys until you arrive at your destination. This page summarizes the basic commands for moving the point
|Beginning of||End of|
Notice that control commands generally move by context-independent units (characters, lines) whereas meta commands move by context-dependent units (words, sentences, paragraphs). These commands are often parallel, such as the commands for moving by lines versus sentences.
(What constitutes something like a "word" or "sentence" or "paragraph" depends on context. It may mean one thing in English prose and another thing in a source code file.)
Notice also that the commands are somewhat mnemonic:
- "f" stands for "forward"
- "b" stands for "backward"
- "n" stands for "next"
- "p" stands for "previous"
- "a" stands for "beginning" (like the beginning of the alphabet)
- "e" stands for "end"