Last Updated: February 25, 2016
·
1.148K
· jafrog

Emacs registers

You can save some position in the text to a register in Emacs with

C-x r <SPC> <Register name>

and jump to that position later with

C-x r j <Register name>

PS: C-h i Emacs -> Registers

Edit: Some text wasn't visible due to formatting issues.

4 Responses
Add your response

It is C-x r Space R for me. Not sure I had modified it or not.

Also, M-x point-to-register and jump-to-register if shortcut is hard to remember.

over 1 year ago ·

@ustun Sorry, I formatted the post the wrong way and half of the text wasn't visible.

over 1 year ago ·

@vinipsmaker I hope Ive addressed the 'incorrect' part in the edit. And I've added a snippet for accessing Register menu item, I hope it will help with 'incompleteness' :-)

over 1 year ago ·

Actually, I realized I was not these that much do to weird shortcuts, so I am now using the following, seems better:

(global-set-key (kbd "M-r") 'point-to-register)
(global-set-key (kbd "M-g") 'jump-to-register)

over 1 year ago ·