1
0
Fork 0

Compare commits

...

2 commits

Author SHA1 Message Date
Daniele Tricoli 4d663835a8 Open link in same the window 2023-03-21 00:39:38 +01:00
Daniele Tricoli 7b9a7b452d Display org-roam buffer to the right 2023-03-21 00:09:48 +01:00

View file

@ -124,6 +124,7 @@
:init
(setq org-roam-v2-ack t)
(setq org-roam-dailies-directory "journal/")
(setq org-link-frame-setup '((file . find-file)))
:custom
(org-roam-directory (file-truename "{{ emacs_org_roam_directory }}"))
(org-roam-completion-everywhere t)
@ -153,6 +154,15 @@
(require 'org-roam-protocol)
(require 'org-roam-dailies)
; Set org-roam buffer display to the right.
(add-to-list 'display-buffer-alist
'("\\*org-roam\\*"
(display-buffer-in-direction)
(direction . right)
(window-width . 0.33)
(window-parameters . ((no-other-window . t)
(no-delete-other-windows . t)))))
(defun org-agenda-has-todos-files ()
"Return a list of note files containing 'has_todos' tag."
(seq-uniq
@ -171,7 +181,6 @@
(advice-add 'org-agenda :before #'org-agenda-files-update)
(require 'org-indent)
) ; End of use-package org-roam block