Emacs – Working with Regions

In this weeks segment on Emacs wizardry let’s learn some of the basic commands for working with regions of text so you can move around your Emacs region faster than Blackberry’s are forgotten about.

Keystrokes Command Name Action
C-@ or C-SPACE set-mark-command Mark the beginning (or end) of a region.
C-x C-x exchange-point-and-mark Exchange location of cursor and mark.
C-w or SHIFT-DELETE kill-region Delete the region
C-y or SHIFT-INSERT yank Paste most recently killed or copied text.
ESC-w or C-INSERT kill-ring-save Copy the region.
Esc-h mark-paragraph Mark paragraph.
C-x C-p mark-page Mark page.
C-x h mark-whole-buffer Mark buffer.
ESC-y yank-pop After C-y, pastes earlier deletion.