summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Lemon <matt@matthewlemon.com>2022-11-18 16:51:58 +0000
committerMatthew Lemon <matt@matthewlemon.com>2022-11-18 16:51:58 +0000
commit2fb0ded6216e26dfc6fb5b781e371201bc6ffce6 (patch)
treecf783c03d9014baac8fc9d194111fdd738f0594d
parent56dcb0ecb0b1fb4c7c7773cb160c3407e4dc2a37 (diff)
allowing us the magic of org-protocol in org-roam
-rw-r--r--myinit.org3
1 files changed, 2 insertions, 1 deletions
diff --git a/myinit.org b/myinit.org
index 7ed9396..4b382d9 100644
--- a/myinit.org
+++ b/myinit.org
@@ -635,13 +635,14 @@ If failed try to complete the common part with `company-complete-common'"
("D" . org-roam-dailies-capture-date))
:bind-keymap ("C-c n D" . org-roam-mode-map)
:config
+ (require 'org-roam-protocol)
(org-roam-db-autosync-mode)
;; Bind this to C-c n I
(defun org-roam-node-insert-immediate (arg &rest args)
(interactive "P")
(let ((args (cons arg args))
(org-roam-capture-templates (list (append (car org-roam-capture-templates)
- '(:immediate-finish t)))))
+ '(:immediate-finish t)))))
(apply #'org-roam-node-insert args)))
:bind (("C-c n I" . org-roam-node-insert-immediate)))
#+END_SRC