I hope to use [C-c C-o]
to open a link like [[file://filename.org|filename]]
in current window, instead of the default in other window.
How to change this Org-mode default behavior ?
Seems default [C-u C-c C-o]
is force open link in other window.
And there is a similar question at here: How do I keep Emacs org-mode from splitting windows?
You need to change the value of org-link-frame-setup
. Default value contains the cons (file . find-file-other-window)
. You may replace it by (file . find-file)
.