Useful Emacs Commands

M-x Commands
Rectangle Copy and Paste
  1. C-SPACE: Set mark (upper left, inclusive).
  2. Move the lower right corner (exlusive).
  3. C-x r r k: Copy the rectangle (into register k) from the upper left corner (inclusive) to the lower right corner (exclusive).
  4. Move the the place to be pasted.
  5. C-x r i k: Paste (insert) the rectangle to the position.