From c35d434272e09256030cb113ec62b72c3dbae84f Mon Sep 17 00:00:00 2001 From: Preston Pan Date: Wed, 29 May 2024 19:24:55 -0700 Subject: new files; more mindmap --- config/emacs.org | 32 +++++++++++++++++++++----------- 1 file changed, 21 insertions(+), 11 deletions(-) (limited to 'config/emacs.org') diff --git a/config/emacs.org b/config/emacs.org index 9c2ce6e..872a7a5 100644 --- a/config/emacs.org +++ b/config/emacs.org @@ -420,18 +420,28 @@ to Firefox if I have to: ** Org Roam For all my mathematics and programming notes: #+begin_src emacs-lisp - (use-package org-roam - :init - (setq org-roam-db-update-on-save t) - (setq org-roam-graph-viewer "firefox") - (setq org-roam-directory (file-truename "~/org/website/mindmap")) - (setq org-roam-capture-templates '(("d" "default" plain "%?" - :target (file+head "${title}.org" - "#+title: ${title}\n#+author: Preston Pan\n#+html_head: \n#+html_head: \n#+html_head: \n#+options: broken-links:t") - :unnarrowed t))) - :config - (org-roam-db-autosync-mode)) + (use-package org-roam + :init + (setq org-roam-db-update-on-save t) + (setq org-roam-graph-viewer "chromium") + (setq org-roam-directory (file-truename "~/org/website/mindmap")) + (setq org-roam-capture-templates '(("d" "default" plain "%?" + :target (file+head "${title}.org" + "#+title: ${title}\n#+author: Preston Pan\n#+html_head: \n#+html_head: \n#+html_head: \n#+options: broken-links:t") + :unnarrowed t))) + :config + (org-roam-db-autosync-mode)) + + (use-package org-roam-ui + :after org-roam + :hook (after-init . org-roam-ui-mode) + :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 + ** Pinentry Set up pinentry so that I can use emacs as my pinentry frontend: #+begin_src emacs-lisp -- cgit