Fix - org-roam-server code was broken apparently
This commit is contained in:
@@ -33,39 +33,9 @@
|
|||||||
(setq org-directory "~/MyDocuments/qwan/essays/willem")
|
(setq org-directory "~/MyDocuments/qwan/essays/willem")
|
||||||
(setq org-roam-directory "~/MyDocuments/qwan/essays/willem")
|
(setq org-roam-directory "~/MyDocuments/qwan/essays/willem")
|
||||||
|
|
||||||
(:after org-roam (unless (server-running-p)
|
|
||||||
(org-roam-server-mode))
|
|
||||||
(use-package org-roam-server
|
|
||||||
:after org-roam
|
|
||||||
:config
|
|
||||||
(setq org-roam-server-host "127.0.0.1"
|
|
||||||
org-roam-server-port 8078
|
|
||||||
org-roam-server-export-inline-images t
|
|
||||||
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-xdg-open (format "http://localhost:%d" org-roam-server-port))))
|
|
||||||
|
|
||||||
;; make screenshot and paste
|
;; make screenshot and paste
|
||||||
;; https://zzamboni.org/post/how-to-insert-screenshots-in-org-documents-on-macos/
|
;; https://zzamboni.org/post/how-to-insert-screenshots-in-org-documents-on-macos/
|
||||||
(use-package org-download
|
|
||||||
:after org
|
|
||||||
:defer nil
|
|
||||||
:custom
|
|
||||||
(org-download-method 'directory)
|
|
||||||
(org-download-image-dir "images")
|
|
||||||
(org-download-heading-lvl nil)
|
|
||||||
(org-download-timestamp "%Y%m%d-%H%M%S_")
|
|
||||||
(org-image-actual-width 300)
|
|
||||||
(org-download-screenshot-method "/usr/local/bin/pngpaste %s")
|
|
||||||
:bind
|
|
||||||
("C-M-y" . org-download-screenshot)
|
|
||||||
:config
|
|
||||||
(require 'org-download))
|
|
||||||
|
|
||||||
|
|
||||||
;; This determines the style of line numbers in effect. If set to `nil', line
|
;; This determines the style of line numbers in effect. If set to `nil', line
|
||||||
|
|||||||
Reference in New Issue
Block a user