12. Emacs Editing

Text Navigation


C-up arrow : move up one paragraph
C-down arrow: move down one paragraph
C-left arrow: move one word left
C-right arrow: move one word right
M-> : move to the end of the buffer

With text navigation, your regular text buttons work as they should, home, end, page up, page down and the arrow keys, etc.

Cutting and Pasting

To cut (kill) or paste (yank) in Emacs you'll need to be able to select text first. To select text, move your cursor to where you want to cut or paste and hit

C-space key
then you can use the navigation keys to select the text you want. Now you can do the cut and paste like so:


C-w : cut
C-y : yank

Exercises

Play around with text navigation.

Quiz

How do you move to the end of the buffer?