From c9250f8412df6658a4b61613c7129fe03722423b Mon Sep 17 00:00:00 2001 From: Correl Roush Date: Fri, 18 Dec 2020 13:39:16 -0500 Subject: [PATCH] [emacs] Add org-sidebar and org-transclusion --- .doom.d/config.org | 22 ++++++++++++++++++++++ .doom.d/packages.el | 2 ++ 2 files changed, 24 insertions(+) diff --git a/.doom.d/config.org b/.doom.d/config.org index dffc9e2..9549c33 100644 --- a/.doom.d/config.org +++ b/.doom.d/config.org @@ -913,6 +913,28 @@ Adapted from https://org-roam.readthedocs.io/en/master/org_export/. (add-hook! 'org-mode-hook #'my/org-roam-writeroom) #+end_src +** Sidebar +Display a sidebar with file-local todos and scheduling. + +#+begin_src emacs-lisp + (use-package! org-sidebar + :bind (:map org-mode-map + (("C-c l v s" . org-sidebar-toggle) + ("C-c l v S" . org-sidebar-tree-toggle))) + :commands (org-sidebar + org-sidebar-toggle + org-sidebar-tree + org-sidebar-tree-toggle)) +#+end_src +** Transclusion +Show linked org document sections inline. + +#+begin_src emacs-lisp + (use-package! org-transclusion + :bind (:map org-mode-map + ("C-c l v t" . org-transclusion-mode)) + :commands (org-transclusion-mode)) +#+end_src * Eshell ** Change directory in the context of a remote host #+begin_src emacs-lisp diff --git a/.doom.d/packages.el b/.doom.d/packages.el index ae000f2..8d10219 100644 --- a/.doom.d/packages.el +++ b/.doom.d/packages.el @@ -26,6 +26,8 @@ (package! ox-dnd :recipe (:host github :repo "xeals/emacs-org-dnd")) (package! gnuplot) (package! org-roam-server) +(package! org-sidebar :recipe (:host github :repo "alphapapa/org-sidebar")) +(package! org-transclusion :recipe (:host github :repo "nobiot/org-transclusion")) (package! nov) (package! org-ref) (package! python-black)