Is there an Emacs function to go back to previous location after I follow an Org link? I usually use bc-set from the breadcrumb.el package, but I'd prefer something builtin from org-mode.
If you are following an internal link (i.e. a link to a target in the org-mode file), then org-mode automatically pushes the position in the mark-ring before jumping.
So, you follow a link with C-c C-o
, then you can jump back with C-c &
.
Documentation here.
-
Thanks, exactly what I wanted. The default key binding is a tiny bit cumbersome though :) – Gerry Lufwansa Mar 27 '14 at 6:19
org-open-at-point
's default behavior is opening the link in a new buffer, isn't it (at least my local installation does this). Shouldn't you be able to "go back" by just killing the buffer (C-x k
) or switching buffers (C-x b
)? – Andreas Wiese Mar 26 '14 at 10:52