Compare commits

..

2 commits

Author SHA1 Message Date
Antoine Martin eb57efa308 Improve mu4e setup 2022-04-11 16:31:48 +02:00
Antoine Martin a4142bdad4 Setup org-roam-ui 2022-04-11 16:31:33 +02:00
2 changed files with 37 additions and 0 deletions

View file

@ -35,6 +35,7 @@
- [[#save-all-org-buffers-shortcut][Save all org buffers shortcut]]
- [[#roam][Roam]]
- [[#roam-directory][Roam Directory]]
- [[#org-roam-ui][org-roam-ui]]
- [[#export-backends][Export backends]]
- [[#doom-specific][Doom specific]]
- [[#magit][Magit]]
@ -49,6 +50,8 @@
- [[#disable-formatflowed][Disable format=flowed]]
- [[#dont-permanently-delete-when-trashing-mails][Don't permanently delete when trashing mails]]
- [[#add-git-apply-path-to-mu4e-actions][Add git-apply-path to mu4e actions]]
- [[#enable-auto-updates][Enable auto updates]]
- [[#ask-which-address-to-send-with-when-composing-a-new-mail][Ask which address to send with when composing a new mail]]
* Misc
@ -437,6 +440,22 @@ First, set a directory where =org-roam= will index things.
(setq org-roam-directory (expand-file-name "notes/" org-directory))
#+END_SRC
*** org-roam-ui
Setup [[https://github.com/org-roam/org-roam-ui][org-roam-ui]]
#+begin_src emacs-lisp
(use-package! websocket
:after org-roam)
(use-package! org-roam-ui
:after org-roam
:config (setq org-roam-ui-sync-theme t
org-roam-ui-follow t
org-roam-ui-update-on-save t
org-roam-ui-open-on-start t))
#+end_src
** Export backends
Sometimes I need to export an Org subtree to a file, which is quite easy with
@ -624,3 +643,17 @@ will have to be adapted soon.
(add-to-list 'mu4e-view-actions
'("MboxGitApply" . mu4e-action-git-apply-mbox) t))
#+end_src
** Enable auto updates
#+begin_src emacs-lisp
(after! mu4e
(setq mu4e-update-interval 900))
#+end_src
** Ask which address to send with when composing a new mail
#+begin_src emacs-lisp
(after! mu4e
(setq mu4e-compose-context-policy 'ask))
#+end_src

View file

@ -59,3 +59,7 @@
(package! magit-delta
:recipe (:host github :repo "dandavison/magit-delta")
:pin "5fc7dbddcfacfe46d3fd876172ad02a9ab6ac616")
(package! org-roam-ui
:recipe (:host github :repo "org-roam/org-roam-ui")
:pin "9474a254390b1e42488a1801fed5826b32a8030b")