Set org-directory and always open file org links in Emacs
This commit is contained in:
parent
d67c1a7cda
commit
f478237e37
@ -1367,7 +1367,8 @@ Notes, agenda, calendar, blogging, journaling, etc.
|
|||||||
(leader-def-key "oa" 'org-agenda)
|
(leader-def-key "oa" 'org-agenda)
|
||||||
(leader-def-key "oc" 'org-capture)
|
(leader-def-key "oc" 'org-capture)
|
||||||
(setq org-src-fontify-natively t
|
(setq org-src-fontify-natively t
|
||||||
org-ellipsis " ▼")
|
org-ellipsis " ▼"
|
||||||
|
org-directory (concat (get-dropbox-directory) "/org"))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
Use RET to follow links:
|
Use RET to follow links:
|
||||||
@ -1383,6 +1384,12 @@ Always show inline images:
|
|||||||
(org-redisplay-inline-images)))
|
(org-redisplay-inline-images)))
|
||||||
#+END_SRC
|
#+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
|
** Agenda files
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(defun agenda-files (&optional file)
|
(defun agenda-files (&optional file)
|
||||||
|
Loading…
Reference in New Issue
Block a user