emacs - mark and region
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 |
- https://www.gnu.org/software/emacs/manual/html_node/emacs/Mark.html
- 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