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.el | 29 +++++++++++++++++++---------- 1 file changed, 19 insertions(+), 10 deletions(-) (limited to 'config/emacs.el') diff --git a/config/emacs.el b/config/emacs.el index 773ebff..f8b438d 100644 --- a/config/emacs.el +++ b/config/emacs.el @@ -338,16 +338,25 @@ Otherwise, just insert the typed character." (lambda () (local-set-key (kbd "y Y") #'eww-copy-page-url))) (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)) + :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)) (use-package pinentry :init (setq epa-pinentry-mode `loopback) -- cgit