Add org mobile config

For syncing to phone via syncthing
This commit is contained in:
Evie Litherland-Smith 2024-02-18 07:17:42 +00:00
parent 77a20f1ffa
commit 40da5f8700

View file

@ -60,6 +60,7 @@ For reference information, see [[https://orgmode.com][Org-mode website]]
"* TODO Read %:subject\nSCHEDULED:%t\nDEADLINE: %(org-insert-time-stamp (org-read-date nil t \"+2d\"))\n\n%a\n\n%i")
))
#+end_src
* org-roam
#+begin_src emacs-lisp
(use-package org-roam
@ -114,6 +115,18 @@ For reference information, see [[https://orgmode.com][Org-mode website]]
(add-to-list 'org-refile-targets '(org-agenda-files :tag . "inbox") t)
#+end_src
** Mobile agenda integration
Better syncing to mobile, for use with [[https://github.com/orgzly-revived/orgzly-android-revived][Orgzly]].
#+begin_src emacs-lisp
(with-eval-after-load 'org
(setq org-mobile-directory "~/.orgmobile/"
org-mobile-agendas nil
org-mobile-files '(org-agenda-files)
org-mobile-inbox-for-pull (expand-file-name "from-mobile.org" org-directory)
org-mobile-force-id-on-agenda-items nil)
(add-hook 'org-capture-finalize-hook #'org-mobile-push))
#+end_src
* org-alert
#+begin_src emacs-lisp
(use-package org-alert
@ -230,4 +243,3 @@ For reference information, see [[https://orgmode.com][Org-mode website]]
(setq org-latex-compiler "lualatex")
(setq org-preview-latex-default-process 'dvisvgm)
#+end_src