I want to follow footnote links in org-mode by positioning the point over the link and hitting the return
key.
In my init.el
file, I have (setq org-return-follows-link t)
which works fine for regular org-mode links but has no effect on footnotes, i.e., links of the form [fn:1]
.
Any ideas?
Update
I had an idea to add something like this to my init.el
. But it's not working quite yet...
(global-set-key (kbd "<return>")
(condition-case nil
(org-open-at-point)
(error (execute-kbd-macro (read-kbd-macro "<return>")))
))
return
key feature, which can probably done without opening up a Pandora's Box [?]. – lawlist May 24 '17 at 21:50global-set-key
and the lower-leveldefine-key
(C-h f <function-name> RET
). You should place thecondition-case
form within aninteractive
command, whether named (defun
) or otherwise (lambda
). – Basil May 25 '17 at 7:47interactive
in this case? – Adam May 25 '17 at 11:51