diff options
author | Matthew Lemon <matt@matthewlemon.com> | 2022-11-18 16:51:58 +0000 |
---|---|---|
committer | Matthew Lemon <matt@matthewlemon.com> | 2022-11-18 16:51:58 +0000 |
commit | 2fb0ded6216e26dfc6fb5b781e371201bc6ffce6 (patch) | |
tree | cf783c03d9014baac8fc9d194111fdd738f0594d | |
parent | 56dcb0ecb0b1fb4c7c7773cb160c3407e4dc2a37 (diff) |
allowing us the magic of org-protocol in org-roam
-rw-r--r-- | myinit.org | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |