From 38c303125b2a9d4d2db908af3709b643f035eece Mon Sep 17 00:00:00 2001 From: Emmet Date: Mon, 28 Aug 2023 21:30:40 -0500 Subject: [PATCH] Added org transclusion --- user/app/doom-emacs/config.el | 10 ++++++++++ user/app/doom-emacs/doom.org | 15 ++++++++++++++- user/app/doom-emacs/packages.el | 2 +- 3 files changed, 25 insertions(+), 2 deletions(-) diff --git a/user/app/doom-emacs/config.el b/user/app/doom-emacs/config.el index ff25fa5..1fc015e 100644 --- a/user/app/doom-emacs/config.el +++ b/user/app/doom-emacs/config.el @@ -507,6 +507,16 @@ same directory as the org-buffer and insert a link to this file." text input-str))))))) +;; Org transclusion +(use-package! org-transclusion + :after org + :init + (map! + :map global-map "" #'org-transclusion-add + :leader + :prefix "n" + :desc "Org Transclusion Mode" "t" #'org-transclusion-mode)) + ;;;------ Org roam configuration ------;;; (require 'org-roam) (require 'org-roam-dailies) diff --git a/user/app/doom-emacs/doom.org b/user/app/doom-emacs/doom.org index bf4b7b2..394fd46 100644 --- a/user/app/doom-emacs/doom.org +++ b/user/app/doom-emacs/doom.org @@ -604,6 +604,19 @@ exit text input-str))))))) +#+END_SRC +*** Org Transclusion +#+BEGIN_SRC emacs-lisp :tangle config.el +;; Org transclusion +(use-package! org-transclusion + :after org + :init + (map! + :map global-map "" #'org-transclusion-add + :leader + :prefix "n" + :desc "Org Transclusion Mode" "t" #'org-transclusion-mode)) + #+END_SRC ** Org Roam Configuration *** Standard Org Roam Configuration @@ -1532,7 +1545,7 @@ Any git package can be configured for a particular commit or branch: (package! org-super-agenda) (package! emacsql :pin "c1a4407") (package! org-roam-ui) -;;(package! org-roam-nursery :recipe (:repo "https://github.com/chrisbarrett/nursery")) +(package! org-transclusion) (package! lister) (package! org-download) (package! org-yt) diff --git a/user/app/doom-emacs/packages.el b/user/app/doom-emacs/packages.el index 3e7d0cb..de56492 100644 --- a/user/app/doom-emacs/packages.el +++ b/user/app/doom-emacs/packages.el @@ -4,7 +4,7 @@ (package! org-super-agenda) (package! emacsql :pin "c1a4407") (package! org-roam-ui) -;;(package! org-roam-nursery :recipe (:repo "https://github.com/chrisbarrett/nursery")) +(package! org-transclusion) (package! lister) (package! org-download) (package! org-yt)