Set org-directory and always open file org links in Emacs

This commit is contained in:
Jeremy Dormitzer 2020-02-04 11:13:42 -05:00
parent d67c1a7cda
commit f478237e37

View File

@ -1367,7 +1367,8 @@ Notes, agenda, calendar, blogging, journaling, etc.
(leader-def-key "oa" 'org-agenda)
(leader-def-key "oc" 'org-capture)
(setq org-src-fontify-natively t
org-ellipsis " ▼")
org-ellipsis " ▼"
org-directory (concat (get-dropbox-directory) "/org"))
#+END_SRC
Use RET to follow links:
@ -1383,6 +1384,12 @@ Always show inline images:
(org-redisplay-inline-images)))
#+END_SRC
Always open directory links in Emacs instead of Finder:
#+BEGIN_SRC emacs-lisp
(with-eval-after-load 'org
(add-to-list 'org-file-apps '(directory . emacs)))
#+END_SRC
** Agenda files
#+BEGIN_SRC emacs-lisp
(defun agenda-files (&optional file)