emacs - mark and region

Table of Contents

Mark

Command Description
C-SPC Set the mark
C-u C-SPC go back where the mark was
M-x pop-to-mark-command Jump to mark, and pop a new position for mark off the ring.

Registers are a great way to tactically move around intra- and inter-buffer.

Command Description
C-x r [SPC] a to save the current location in register ‘a’
C-x r j a to jump to the location in register a; )
C-x r C-h for more
  1. https://www.gnu.org/software/emacs/manual/html_node/emacs/Mark.html
  2. https://www.gnu.org/software/emacs/manual/html_node/emacs/Setting-Mark.html

Region

https://www.gnu.org/software/emacs/manual/html_node/emacs/Using-Region.html


Links to this note