|
|
|
|
@ -1985,9 +1985,23 @@ |
|
|
|
|
(global-set-key (kbd "C-c n f") 'org-roam-node-find) |
|
|
|
|
(global-set-key (kbd "C-c n l") 'org-roam-node-insert) |
|
|
|
|
(global-set-key (kbd "C-c n n") 'org-roam-buffer-toggle) |
|
|
|
|
#+end_src |
|
|
|
|
*** export to ics |
|
|
|
|
#+begin_src emacs-lisp |
|
|
|
|
(defun wilder/push-subtree-to-nextcloud () |
|
|
|
|
(interactive) |
|
|
|
|
(org-back-to-heading) |
|
|
|
|
(org-map-entries #'wilder/push-heading-to-nextcloud nil 'tree)) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(defun wilder/push-heading-to-nextcloud () |
|
|
|
|
(interactive) |
|
|
|
|
(org-narrow-to-subtree) |
|
|
|
|
(let ((org-icalendar-scheduled-summary-prefix "") |
|
|
|
|
(org-icalendar-use-scheduled '(event-if-todo)) |
|
|
|
|
(org-icalendar-include-todo) nil) |
|
|
|
|
(shell-command (concat "~/scripts/push-to-nextcloud-cal.sh " |
|
|
|
|
(org-icalendar-export-to-ics)))) |
|
|
|
|
(widen)) |
|
|
|
|
#+end_src |
|
|
|
|
** elisp |
|
|
|
|
*** Paredit |
|
|
|
|
|