track new baseline + documentation from previous time
This commit is contained in:
@@ -25,13 +25,24 @@
|
||||
;; There are two ways to load a theme. Both assume the theme is installed and
|
||||
;; available. You can either set `doom-theme' or manually load a theme with the
|
||||
;; `load-theme' function. This is the default:
|
||||
(setq doom-theme 'doom-one)
|
||||
(setq doom-theme 'doom-solarized-light)
|
||||
|
||||
;; general editor customizations
|
||||
(setq display-line-numbers-type 'relative)
|
||||
(setq linum-format "%3d \u2502'")
|
||||
(global-display-line-numbers-mode)
|
||||
|
||||
;; org-mode customizations
|
||||
(setq org-superstar-headline-bullets-list '("⁖" "◉" "○" "✸" "✿"))
|
||||
(setq org-startup-with-inline-images t)
|
||||
|
||||
;; org-roam customizations
|
||||
;; If you use `org' and don't want your org files in the default location below,
|
||||
;; change `org-directory'. It must be set before org loads!
|
||||
(setq org-directory "~/MyDocuments/qwan/essays/willem")
|
||||
(setq org-roam-directory "~/MyDocuments/qwan/essays/willem")
|
||||
; (define-key org-roam-mode-map [mouse-1] #'org-roam-visit-thing)
|
||||
|
||||
|
||||
;; fix pdflatex for pdf export
|
||||
(setenv "PATH" (concat (getenv "PATH") ":/Library/TeX/texbin"))
|
||||
@@ -197,32 +208,6 @@
|
||||
|
||||
(setq evil-move-cursor-back nil)
|
||||
|
||||
;;
|
||||
;; from https://github.com/org-roam/org-roam-server/issues/115
|
||||
;; but modified the open to browse-url-button-open-url
|
||||
(use-package org-roam-server
|
||||
:config
|
||||
(setq org-roam-server-host "127.0.0.1"
|
||||
org-roam-server-port 8427
|
||||
org-roam-server-authenticate nil
|
||||
org-roam-server-export-inline-images t
|
||||
org-roam-server-serve-files nil
|
||||
org-roam-server-served-file-extensions '("pdf" "mp4" "ogv")
|
||||
org-roam-server-network-poll t
|
||||
org-roam-server-network-arrows nil
|
||||
org-roam-server-network-label-truncate t
|
||||
org-roam-server-network-label-truncate-length 60
|
||||
org-roam-server-network-label-wrap-length 20))
|
||||
|
||||
(defun org-roam-server-open ()
|
||||
"Ensure the server is active, then open the roam graph."
|
||||
(interactive)
|
||||
(org-roam-server-mode 1)
|
||||
(browse-url-button-open-url (format "http://localhost:%d" org-roam-server-port)))
|
||||
|
||||
(after! org-roam
|
||||
(org-roam-server-mode))
|
||||
|
||||
;; two functions from:
|
||||
;; https://zzamboni.org/post/my-emacs-configuration-with-commentary/#reformatting-an-org-buffer
|
||||
(defun zz/org-reformat-buffer ()
|
||||
|
||||
Reference in New Issue
Block a user