diff options
author | Preston Pan <preston@nullring.xyz> | 2024-05-29 19:24:55 -0700 |
---|---|---|
committer | Preston Pan <preston@nullring.xyz> | 2024-05-29 19:24:55 -0700 |
commit | c35d434272e09256030cb113ec62b72c3dbae84f (patch) | |
tree | f4cb8599abda34eaaf6cf89d8c603c25e5a9a517 /config/emacs.org | |
parent | e0a4aa29f8ccbc9e86ec202be199756aea2528b6 (diff) |
new files; more mindmap
Diffstat (limited to 'config/emacs.org')
-rw-r--r-- | config/emacs.org | 32 |
1 files changed, 21 insertions, 11 deletions
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: <link rel=\"stylesheet\" type=\"text/css\" href=\"../style.css\" />\n#+html_head: <script src=\"https://polyfill.io/v3/polyfill.min.js?features=es6\"></script>\n#+html_head: <script id=\"MathJax-script\" async src=\"https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js\"></script>\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: <link rel=\"stylesheet\" type=\"text/css\" href=\"../style.css\" />\n#+html_head: <script src=\"https://polyfill.io/v3/polyfill.min.js?features=es6\"></script>\n#+html_head: <script id=\"MathJax-script\" async src=\"https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js\"></script>\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 |