This is part of the Emacs Starter Kit.
Registers allow you to jump to a file or other location quickly. Use
C-x r j
followed by the letter of the register (i for init.el
, s
for this file) to jump to it.
You should add registers here for the files you edit most often.
(dolist (r `((?i (file . ,(concat dotfiles-dir "init.el")))
(?s (file . ,(concat dotfiles-dir "starter-kit.org")))
(?r (file . ,(concat dotfiles-dir "starter-kit-registers.org")))))
(set-register (car r) (cadr r)))