Useful Emacs Commands
M-x Commands
- M-x goto-line: Go to a line by a line number.
- M-x toggle-truncate-lines: Turn wrapping off!
Rectangle Copy and Paste
- C-SPACE: Set mark (upper left, inclusive).
- Move the lower right corner (exlusive).
- C-x r r k: Copy the rectangle (into register k) from the upper left corner (inclusive) to the lower right corner (exclusive).
- Move the the place to be pasted.
- C-x r i k: Paste (insert) the rectangle to the position.