aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2022-09-14 00:27:11 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2022-09-14 00:47:16 +0100
commit0f00c351aad2c962146c7841901bf23ea6dfa6d9 (patch)
tree7988dd171cb7677c728fa3a0e4c429f85b137115
parentf89ebf476e3814bc3556752d67b75f0345b818dc (diff)
downloaddotfiles-0f00c351aad2c962146c7841901bf23ea6dfa6d9.tar.gz
dotfiles-0f00c351aad2c962146c7841901bf23ea6dfa6d9.tar.bz2
dotfiles-0f00c351aad2c962146c7841901bf23ea6dfa6d9.zip
(Emacs)+org-link-frame-setup
Always open a new frame when opening link in org-mode: predictable, safe behaviour which leaves it up to my window manager as to what to do next. Most of my opened links are files that I want to examine along with the org file I opened them from: this allows me to do exactly that.
-rw-r--r--Emacs/.config/emacs/config.org5
1 files changed, 5 insertions, 0 deletions
diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org
index 7773d23..23dd428 100644
--- a/Emacs/.config/emacs/config.org
+++ b/Emacs/.config/emacs/config.org
@@ -2238,6 +2238,11 @@ Emacs was very helpful here.
(org-indirect-buffer-display 'current-window)
(org-export-backends '(ascii html latex odt))
(org-imenu-depth 10)
+ (org-link-frame-setup '((vm . vm-visit-folder-other-frame)
+ (vm-imap . vm-visit-imap-folder-other-frame)
+ (gnus . org-gnus-no-new-news)
+ (file . find-file-other-frame)
+ (wl . wl-other-frame)))
(org-eldoc-breadcrumb-separator " → ")
(org-enforce-todo-dependencies t)
(org-fontify-quote-and-verse-blocks t)